Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001948/0.001948, allocations: 196.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.645/2.645, allocations: 469.4 MB / 0.742 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 62.41 kB / 0.9083 GB, free: 34.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2583, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.7407/0.9991, allocations: 214.1 MB / 1.273 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01315/1.012, allocations: 12.18 MB / 1.285 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001496/1.014, allocations: 45.56 kB / 1.285 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001209/1.015, allocations: 0.5057 MB / 1.285 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004418/1.019, allocations: 1.876 MB / 1.287 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00463/1.024, allocations: 1.896 MB / 1.289 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003535/1.028, allocations: 2.343 MB / 1.291 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001787/1.029, allocations: 1.235 MB / 1.292 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001461/1.031, allocations: 0.8206 MB / 1.293 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000788/1.032, allocations: 0.6629 MB / 1.294 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001575/1.032, allocations: 90.31 kB / 1.294 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005429/1.037, allocations: 2.844 MB / 1.297 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004887/1.038, allocations: 0.5468 MB / 1.297 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008087/1.039, allocations: 0.7327 MB / 1.298 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004643/1.043, allocations: 3.137 MB / 1.301 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/1.043, allocations: 1.344 kB / 1.301 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.593e-06/1.043, allocations: 4.844 kB / 1.301 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.071e-05/1.043, allocations: 3.938 kB / 1.301 GB, free: 3.766 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002532/1.046, allocations: 1.739 MB / 1.303 GB, free: 18.84 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/1.046, allocations: 10.41 kB / 1.303 GB, free: 18.84 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001815/1.046, allocations: 177 kB / 1.303 GB, free: 18.79 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001714/1.048, allocations: 374.8 kB / 1.303 GB, free: 18.71 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/1.049, allocations: 0.8874 MB / 1.304 GB, free: 18.36 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.564e-05/1.049, allocations: 85.03 kB / 1.304 GB, free: 18.36 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/1.049, allocations: 98.81 kB / 1.304 GB, free: 18.36 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001947/1.051, allocations: 1.53 MB / 1.306 GB, free: 18.07 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/1.051, allocations: 5.281 kB / 1.306 GB, free: 18.07 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.83e-05/1.051, allocations: 48.62 kB / 1.306 GB, free: 18.07 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.017e-05/1.051, allocations: 57.88 kB / 1.306 GB, free: 18.06 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001312/1.053, allocations: 1.024 MB / 1.307 GB, free: 18.06 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005849/1.059, allocations: 5.961 MB / 1.313 GB, free: 14.59 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004963/1.059, allocations: 321.1 kB / 1.313 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000256/1.059, allocations: 254.5 kB / 1.313 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006945/1.06, allocations: 0.7133 MB / 1.314 GB, free: 13.71 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/1.06, allocations: 38.12 kB / 1.314 GB, free: 13.67 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 1.974e-06/1.06, allocations: 4.688 kB / 1.314 GB, free: 13.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.001246/1.061, allocations: 0.67 MB / 1.315 GB, free: 13.56 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.929e-05/1.062, allocations: 139.7 kB / 1.315 GB, free: 13.4 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/1.063, allocations: 1.679 MB / 1.316 GB, free: 13.24 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/1.063, allocations: 32.95 kB / 1.316 GB, free: 13.21 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003871/1.064, allocations: 0.5566 MB / 1.317 GB, free: 13.1 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.593e-05/1.064, allocations: 96.72 kB / 1.317 GB, free: 13.04 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.818e-05/1.064, allocations: 68.09 kB / 1.317 GB, free: 13.02 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.974e-05/1.064, allocations: 319 kB / 1.317 GB, free: 12.72 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/1.064, allocations: 154.8 kB / 1.318 GB, free: 12.72 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/1.064, allocations: 267.9 kB / 1.318 GB, free: 12.64 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004107/1.065, allocations: 412.6 kB / 1.318 GB, free: 12.56 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.065, allocations: 1.781 kB / 1.318 GB, free: 12.56 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006853/1.066, allocations: 0.5484 MB / 1.319 GB, free: 12.45 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/1.066, allocations: 6 kB / 1.319 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/1.066, allocations: 6.906 kB / 1.319 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/1.066, allocations: 3.062 kB / 1.319 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/1.066, allocations: 55.94 kB / 1.319 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/1.066, allocations: 6.266 kB / 1.319 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005691/1.066, allocations: 107.3 kB / 1.319 GB, free: 12.37 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.404e-05/1.067, allocations: 22.91 kB / 1.319 GB, free: 12.37 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003918/1.067, allocations: 377.8 kB / 1.319 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002396/1.067, allocations: 145.8 kB / 1.319 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004734/1.068, allocations: 382.3 kB / 1.32 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/1.068, allocations: 9.344 kB / 1.32 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/1.068, allocations: 0 / 1.32 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/1.068, allocations: 0 / 1.32 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003326/1.071, allocations: 2.611 MB / 1.322 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/1.071, allocations: 11.48 kB / 1.322 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/1.071, allocations: 58.53 kB / 1.322 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/1.071, allocations: 7.094 kB / 1.322 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/1.071, allocations: 12.31 kB / 1.322 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/1.071, allocations: 14.39 kB / 1.322 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/1.071, allocations: 8.656 kB / 1.322 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005229/1.072, allocations: 0.6135 MB / 1.323 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003448/1.072, allocations: 296.8 kB / 1.323 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/1.072, allocations: 16.06 kB / 1.323 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003706/1.073, allocations: 13.75 kB / 1.323 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/1.073, allocations: 40.83 kB / 1.323 GB, free: 10.56 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/1.073, allocations: 18.19 kB / 1.323 GB, free: 10.56 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001273/1.074, allocations: 1.221 MB / 1.325 GB, free: 10.45 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.1e-07/1.074, allocations: 3.094 kB / 1.325 GB, free: 10.45 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00105/1.075, allocations: 338.3 kB / 1.325 GB, free: 10.41 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002364/1.078, allocations: 1.684 MB / 1.327 GB, free: 9.43 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004535/1.078, allocations: 358.7 kB / 1.327 GB, free: 9.414 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.078, allocations: 2.469 kB / 1.327 GB, free: 9.414 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001616/1.078, allocations: 160.6 kB / 1.327 GB, free: 9.414 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003718/1.082, allocations: 0.9122 MB / 1.328 GB, free: 9.258 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0122/1.094, allocations: 11.55 MB / 1.339 GB, free: 5.148 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007536/1.095, allocations: 1.214 MB / 1.34 GB, free: 4.43 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001053/1.096, allocations: 297.9 kB / 1.341 GB, free: 4.367 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004761/1.096, allocations: 463.4 kB / 1.341 GB, free: 4.359 MB / 1.014 GB Notification: Performance of SimCode: time 9.72e-07/1.096, allocations: 0 / 1.341 GB, free: 4.359 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06831/1.165, allocations: 43.16 MB / 1.383 GB, free: 11.62 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.403/9.568, allocations: 7.859 kB / 1.383 GB, free: 11.62 MB / 1.045 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches