Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1",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.006866/0.006866, allocations: 99 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 198.3 kB / 16.68 MB, free: 5.934 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.763/2.763, allocations: 482.4 MB / 0.7548 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 62.44 kB / 1.083 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2791, allocations: 162.2 MB / 1.241 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1803/0.4594, allocations: 162.4 MB / 1.4 GB, free: 6.258 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.004387/0.4638, allocations: 2.916 MB / 1.403 GB, free: 3.336 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00036/0.4643, allocations: 19.88 kB / 1.403 GB, free: 3.316 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006134/0.4649, allocations: 202.8 kB / 1.403 GB, free: 3.117 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001777/0.4667, allocations: 0.7699 MB / 1.404 GB, free: 2.344 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007766/0.4675, allocations: 358.4 kB / 1.404 GB, free: 1.996 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001189/0.4687, allocations: 0.9389 MB / 1.405 GB, free: 1.055 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003437/0.469, allocations: 250.3 kB / 1.405 GB, free: 0.8047 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005411/0.4696, allocations: 362.6 kB / 1.406 GB, free: 460 kB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007726/0.4703, allocations: 285.4 kB / 1.406 GB, free: 176 kB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 6.28e-05/0.4704, allocations: 40 kB / 1.406 GB, free: 136 kB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.4715, allocations: 0.6352 MB / 1.407 GB, free: 15.5 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001626/0.4717, allocations: 139.5 kB / 1.407 GB, free: 15.36 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002371/0.472, allocations: 215.1 kB / 1.407 GB, free: 15.15 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.473, allocations: 0.7514 MB / 1.408 GB, free: 14.39 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.473, allocations: 0 / 1.408 GB, free: 14.39 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.082e-06/0.473, allocations: 0 / 1.408 GB, free: 14.39 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.473, allocations: 4 kB / 1.408 GB, free: 14.39 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001082/0.4741, allocations: 0.7278 MB / 1.408 GB, free: 13.61 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.4742, allocations: 8.031 kB / 1.408 GB, free: 13.61 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.424e-05/0.4742, allocations: 62.53 kB / 1.408 GB, free: 13.54 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.4753, allocations: 139.6 kB / 1.409 GB, free: 13.4 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006232/0.4759, allocations: 434.5 kB / 1.409 GB, free: 12.94 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.4759, allocations: 16.56 kB / 1.409 GB, free: 12.92 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.642e-05/0.476, allocations: 24 kB / 1.409 GB, free: 12.89 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004639/0.4765, allocations: 275.6 kB / 1.409 GB, free: 12.61 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.4765, allocations: 0 / 1.409 GB, free: 12.61 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.925e-05/0.4765, allocations: 12 kB / 1.409 GB, free: 12.6 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.347e-05/0.4765, allocations: 12.55 kB / 1.409 GB, free: 12.59 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003587/0.4769, allocations: 202.1 kB / 1.41 GB, free: 12.39 MB / 1.139 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.001779/0.4787, allocations: 1.327 MB / 1.411 GB, free: 10.93 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004008/0.4791, allocations: 186.8 kB / 1.411 GB, free: 10.73 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.4793, allocations: 92.83 kB / 1.411 GB, free: 10.64 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.4793, allocations: 3.984 kB / 1.411 GB, free: 10.64 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.4793, allocations: 38.56 kB / 1.411 GB, free: 10.59 MB / 1.139 GB Notification: Performance of pre-optimization done (n=19): time 1.373e-06/0.4793, allocations: 0 / 1.411 GB, free: 10.59 MB / 1.139 GB Notification: Performance of matching and sorting (n=19): time 0.0009518/0.4803, allocations: 397.2 kB / 1.412 GB, free: 10.18 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.4804, allocations: 67.39 kB / 1.412 GB, free: 10.1 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003342/0.4807, allocations: 296.6 kB / 1.412 GB, free: 9.801 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.4807, allocations: 29.7 kB / 1.412 GB, free: 9.766 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.4809, allocations: 196.2 kB / 1.412 GB, free: 9.57 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 7.254e-05/0.481, allocations: 75.34 kB / 1.412 GB, free: 9.496 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.352e-05/0.4811, allocations: 41.72 kB / 1.412 GB, free: 9.449 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.4812, allocations: 342.8 kB / 1.413 GB, free: 9.105 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.4813, allocations: 63.97 kB / 1.413 GB, free: 9.043 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.4815, allocations: 133.1 kB / 1.413 GB, free: 8.895 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000287/0.4818, allocations: 192 kB / 1.413 GB, free: 8.688 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4818, allocations: 0 / 1.413 GB, free: 8.688 MB / 1.139 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004018/0.4822, allocations: 249.2 kB / 1.413 GB, free: 8.438 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.4822, allocations: 11.94 kB / 1.413 GB, free: 8.426 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.4823, allocations: 0 / 1.413 GB, free: 8.426 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.4823, allocations: 7.938 kB / 1.413 GB, free: 8.418 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.4825, allocations: 44.17 kB / 1.413 GB, free: 8.375 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.4825, allocations: 11.92 kB / 1.413 GB, free: 8.363 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002699/0.4828, allocations: 15.89 kB / 1.413 GB, free: 8.348 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.4828, allocations: 8 kB / 1.413 GB, free: 8.34 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (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 prepare postOptimizeDAE: time 0.0001665/0.483, allocations: 158.4 kB / 1.413 GB, free: 8.176 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.676e-05/0.483, allocations: 31.75 kB / 1.413 GB, free: 8.145 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.214e-05/0.4831, allocations: 39.08 kB / 1.413 GB, free: 8.102 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4831, allocations: 0 / 1.413 GB, free: 8.102 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.4831, allocations: 0 / 1.413 GB, free: 8.102 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.4832, allocations: 4 kB / 1.413 GB, free: 8.098 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000544/0.4837, allocations: 413.2 kB / 1.414 GB, free: 7.645 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4837, allocations: 4 kB / 1.414 GB, free: 7.641 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.4839, allocations: 31.92 kB / 1.414 GB, free: 7.609 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001975/0.4841, allocations: 44.83 kB / 1.414 GB, free: 7.562 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.4841, allocations: 4 kB / 1.414 GB, free: 7.559 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001359/0.4855, allocations: 1.512 MB / 1.415 GB, free: 5.906 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4855, allocations: 3.938 kB / 1.415 GB, free: 5.902 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005964/0.4861, allocations: 401.9 kB / 1.416 GB, free: 5.492 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.4863, allocations: 128.9 kB / 1.416 GB, free: 5.348 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.414e-05/0.4863, allocations: 11.94 kB / 1.416 GB, free: 5.336 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.4866, allocations: 4 kB / 1.416 GB, free: 5.332 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.4866, allocations: 11.98 kB / 1.416 GB, free: 5.32 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.4867, allocations: 11.98 kB / 1.416 GB, free: 5.309 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002376/0.4869, allocations: 219.1 kB / 1.416 GB, free: 5.094 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4869, allocations: 0 / 1.416 GB, free: 5.094 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003996/0.4873, allocations: 111.8 kB / 1.416 GB, free: 4.984 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009625/0.4883, allocations: 0.9374 MB / 1.417 GB, free: 4.02 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.000304/0.4886, allocations: 171.8 kB / 1.417 GB, free: 3.852 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4886, allocations: 384 / 1.417 GB, free: 3.852 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003029/0.4889, allocations: 200.5 kB / 1.418 GB, free: 3.645 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.4899, allocations: 195.6 kB / 1.418 GB, free: 3.461 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003543/0.4935, allocations: 2.93 MB / 1.421 GB, free: 428 kB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004423/0.4939, allocations: 0.7958 MB / 1.421 GB, free: 15.59 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002238/0.4942, allocations: 63.25 kB / 1.421 GB, free: 15.53 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/0.4943, allocations: 107.4 kB / 1.422 GB, free: 15.43 MB / 1.154 GB Notification: Performance of SimCode: time 2.61e-07/0.4944, allocations: 0 / 1.422 GB, free: 15.43 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03551/0.5299, allocations: 8.987 MB / 1.43 GB, free: 6.637 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.64/10.17, allocations: 17.62 kB / 1.43 GB, free: 6.625 MB / 1.154 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv --start-time 0 --stop-time 10800 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4.32 Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches