Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",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.007884/0.007884, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.002163/0.002163, allocations: 192 kB / 16.67 MB, free: 5.969 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.524/1.524, 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.796/2.796, allocations: 482.4 MB / 0.7548 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 68.89 kB / 1.083 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2768, allocations: 162.2 MB / 1.241 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1418/0.4187, allocations: 132.5 MB / 1.371 GB, free: 4.316 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0331/0.4518, allocations: 23.25 MB / 1.394 GB, free: 13.01 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002822/0.4547, allocations: 123.2 kB / 1.394 GB, free: 12.89 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.003247/0.4579, allocations: 1.486 MB / 1.395 GB, free: 11.39 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.009199/0.4672, allocations: 4.089 MB / 1.399 GB, free: 7.289 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00476/0.4719, allocations: 2.161 MB / 1.401 GB, free: 5.145 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.007722/0.4797, allocations: 6.533 MB / 1.408 GB, free: 14.59 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003041/0.4827, allocations: 2.355 MB / 1.41 GB, free: 12.18 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005654/0.4884, allocations: 2.99 MB / 1.413 GB, free: 9.184 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002435/0.4908, allocations: 1.871 MB / 1.415 GB, free: 7.305 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003751/0.4912, allocations: 248 kB / 1.415 GB, free: 7.062 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003811/0.495, allocations: 1.923 MB / 1.417 GB, free: 5.137 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0006083/0.4957, allocations: 0.5992 MB / 1.417 GB, free: 4.535 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001525/0.4972, allocations: 1.462 MB / 1.419 GB, free: 3.066 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.005498/0.5027, allocations: 4.387 MB / 1.423 GB, free: 14.66 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.5027, allocations: 3.984 kB / 1.423 GB, free: 14.66 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5027, allocations: 0 / 1.423 GB, free: 14.66 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.382e-05/0.5028, allocations: 4 kB / 1.423 GB, free: 14.66 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.005581/0.5083, allocations: 3.266 MB / 1.426 GB, free: 11.3 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.5084, allocations: 15.97 kB / 1.426 GB, free: 11.29 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002878/0.5087, allocations: 227.9 kB / 1.426 GB, free: 11.05 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004593/0.5133, allocations: 0.8533 MB / 1.427 GB, free: 10.2 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004477/0.5178, allocations: 2.333 MB / 1.43 GB, free: 7.789 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.5179, allocations: 123 kB / 1.43 GB, free: 7.668 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002464/0.5182, allocations: 156 kB / 1.43 GB, free: 7.516 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004332/0.5225, allocations: 1.93 MB / 1.432 GB, free: 5.52 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.416e-05/0.5226, allocations: 4 kB / 1.432 GB, free: 5.516 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001617/0.5227, allocations: 60 kB / 1.432 GB, free: 5.457 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.634e-05/0.5228, allocations: 40 kB / 1.432 GB, free: 5.418 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005149/0.5279, allocations: 1.803 MB / 1.434 GB, free: 3.613 MB / 1.154 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.01305/0.541, allocations: 9.014 MB / 1.442 GB, free: 9.996 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004711/0.5457, allocations: 1.199 MB / 1.444 GB, free: 8.781 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/0.547, allocations: 461.4 kB / 1.444 GB, free: 8.324 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001428/0.5484, allocations: 1.726 MB / 1.446 GB, free: 6.207 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.5484, allocations: 38.56 kB / 1.446 GB, free: 6.16 MB / 1.17 GB Notification: Performance of pre-optimization done (n=76): time 2.555e-06/0.5485, allocations: 4 kB / 1.446 GB, free: 6.156 MB / 1.17 GB Notification: Performance of matching and sorting (n=76): time 0.009312/0.5578, allocations: 2.348 MB / 1.448 GB, free: 3.758 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.453e-05/0.5578, allocations: 85.11 kB / 1.448 GB, free: 3.656 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00401/0.5619, allocations: 2.528 MB / 1.451 GB, free: 1.109 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.482e-05/0.562, allocations: 45.7 kB / 1.451 GB, free: 1.059 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001061/0.563, allocations: 1.055 MB / 1.452 GB, free: 15.99 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002763/0.5633, allocations: 285.5 kB / 1.452 GB, free: 15.71 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000472/0.5638, allocations: 262.6 kB / 1.452 GB, free: 15.45 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.564, allocations: 341.9 kB / 1.452 GB, free: 15.11 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001925/0.5659, allocations: 0.5764 MB / 1.453 GB, free: 14.54 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002323/0.5682, allocations: 0.9504 MB / 1.454 GB, free: 13.43 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003366/0.5716, allocations: 1.248 MB / 1.455 GB, free: 12.08 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.5716, allocations: 3.938 kB / 1.455 GB, free: 12.07 MB / 1.186 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006924/0.5786, allocations: 2.038 MB / 1.457 GB, free: 10.02 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.5786, allocations: 8 kB / 1.457 GB, free: 10.01 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.5786, allocations: 8 kB / 1.457 GB, free: 10 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001878/0.5805, allocations: 493 kB / 1.458 GB, free: 9.516 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/0.5818, allocations: 287.6 kB / 1.458 GB, free: 9.234 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002448/0.5843, allocations: 1.52 MB / 1.459 GB, free: 7.664 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002513/0.5868, allocations: 374.5 kB / 1.46 GB, free: 7.297 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/0.5869, allocations: 55.97 kB / 1.46 GB, free: 7.242 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0007518/0.5877, allocations: 469 kB / 1.46 GB, free: 6.777 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004194/0.5881, allocations: 254.4 kB / 1.461 GB, free: 6.527 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00402/0.5921, allocations: 1.512 MB / 1.462 GB, free: 5 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/0.5922, allocations: 8 kB / 1.462 GB, free: 4.992 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.5922, allocations: 0 / 1.462 GB, free: 4.992 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/0.5922, allocations: 7.969 kB / 1.462 GB, free: 4.984 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008065/0.6003, allocations: 3.62 MB / 1.466 GB, free: 1.254 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.6003, allocations: 0 / 1.466 GB, free: 1.254 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006749/0.601, allocations: 140 kB / 1.466 GB, free: 1.117 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001725/0.6027, allocations: 485 kB / 1.466 GB, free: 0.6367 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.36e-05/0.6028, allocations: 28.08 kB / 1.466 GB, free: 0.6094 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002989/0.6058, allocations: 1.59 MB / 1.468 GB, free: 14.97 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.6058, allocations: 4 kB / 1.468 GB, free: 14.96 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006464/0.6123, allocations: 1.956 MB / 1.47 GB, free: 12.94 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008058/0.6131, allocations: 0.4912 MB / 1.47 GB, free: 12.43 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000301/0.6134, allocations: 23.94 kB / 1.47 GB, free: 12.41 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001726/0.6151, allocations: 139.8 kB / 1.47 GB, free: 12.27 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.988e-05/0.6152, allocations: 55.86 kB / 1.47 GB, free: 12.21 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.351e-05/0.6153, allocations: 43.97 kB / 1.47 GB, free: 12.17 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.003093/0.6184, allocations: 1.773 MB / 1.472 GB, free: 10.39 MB / 1.201 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6184, allocations: 0 / 1.472 GB, free: 10.39 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001749/0.6202, allocations: 0.6979 MB / 1.473 GB, free: 9.695 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007935/0.6281, allocations: 3.019 MB / 1.476 GB, free: 6.617 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.004381/0.6325, allocations: 1.347 MB / 1.477 GB, free: 5.273 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.6326, allocations: 0 / 1.477 GB, free: 5.273 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.002634/0.6352, allocations: 0.6747 MB / 1.478 GB, free: 4.598 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005787/0.641, allocations: 1.336 MB / 1.479 GB, free: 3.281 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03551/0.6765, allocations: 16.73 MB / 1.495 GB, free: 2.07 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/0.6778, allocations: 1.49 MB / 1.497 GB, free: 0.5508 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001612/0.6794, allocations: 439.9 kB / 1.497 GB, free: 124 kB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001342/0.6808, allocations: 0.9055 MB / 1.498 GB, free: 15.21 MB / 1.232 GB Notification: Performance of SimCode: time 5.81e-07/0.6808, allocations: 0 / 1.498 GB, free: 15.21 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6115/1.292, allocations: 66.19 MB / 1.563 GB, free: 292.9 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.07/17.36, allocations: 19.3 kB / 1.563 GB, free: 292.9 MB / 1.264 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches