Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.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: translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QSou_flow|heaPum.QLoa_flow|uMod.y|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.COP|heaPum.PLR",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QSou_flow|heaPum.QLoa_flow|uMod.y|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.COP|heaPum.PLR",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001743/0.001743, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.607/2.607, allocations: 472.7 MB / 0.746 GB, free: 444 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 63.84 kB / 1.07 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6944/0.6958, allocations: 159.9 MB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop): time 0.09411/0.7899, allocations: 90.37 MB / 1.315 GB, free: 2.863 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.03384/0.8238, allocations: 24.37 MB / 1.338 GB, free: 10.42 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004168/0.828, allocations: 111.4 kB / 1.338 GB, free: 10.31 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.007109/0.8352, allocations: 2.478 MB / 1.341 GB, free: 7.824 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01098/0.8462, allocations: 3.997 MB / 1.345 GB, free: 3.812 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.008545/0.8547, allocations: 3.196 MB / 1.348 GB, free: 0.6484 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01519/0.8699, allocations: 9.97 MB / 1.358 GB, free: 6.668 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004767/0.8747, allocations: 2.387 MB / 1.36 GB, free: 4.215 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006791/0.8815, allocations: 2.801 MB / 1.363 GB, free: 1.414 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004192/0.8858, allocations: 2.132 MB / 1.365 GB, free: 15.27 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001116/0.8869, allocations: 312 kB / 1.365 GB, free: 14.97 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006178/0.8931, allocations: 2.613 MB / 1.368 GB, free: 12.35 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001431/0.8945, allocations: 0.9578 MB / 1.369 GB, free: 11.39 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.003387/0.8979, allocations: 1.827 MB / 1.37 GB, free: 9.555 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01002/0.908, allocations: 5.878 MB / 1.376 GB, free: 3.656 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.908, allocations: 0 / 1.376 GB, free: 3.656 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.252e-06/0.908, allocations: 4 kB / 1.376 GB, free: 3.652 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001511/0.9082, allocations: 0 / 1.376 GB, free: 3.652 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 387 * Number of variables: 387 Notification: Performance of Generate backend data structure: time 0.009404/0.9176, allocations: 4.134 MB / 1.38 GB, free: 15.41 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.9176, allocations: 8.031 kB / 1.38 GB, free: 15.4 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004127/0.9218, allocations: 0.7823 MB / 1.381 GB, free: 14.61 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007136/0.9289, allocations: 3.462 MB / 1.384 GB, free: 11.09 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003139/0.9293, allocations: 206.7 kB / 1.385 GB, free: 10.88 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005151/0.9298, allocations: 183.9 kB / 1.385 GB, free: 10.7 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004494/0.9343, allocations: 2.027 MB / 1.387 GB, free: 8.574 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.377e-05/0.9343, allocations: 11.94 kB / 1.387 GB, free: 8.562 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002057/0.9346, allocations: 64 kB / 1.387 GB, free: 8.5 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.481e-05/0.9346, allocations: 62.84 kB / 1.387 GB, free: 8.438 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004607/0.9392, allocations: 1.826 MB / 1.389 GB, free: 6.605 MB / 1.107 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.01544/0.9547, allocations: 9.811 MB / 1.398 GB, free: 12.27 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002866/0.9576, allocations: 1.255 MB / 1.399 GB, free: 10.98 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001633/0.9592, allocations: 0.7104 MB / 1.4 GB, free: 10.27 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006336/0.9656, allocations: 3.926 MB / 1.404 GB, free: 6.023 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001802/0.9674, allocations: 0.8053 MB / 1.405 GB, free: 5.207 MB / 1.123 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009262/0.9684, allocations: 127.1 kB / 1.405 GB, free: 5.082 MB / 1.123 GB Notification: Performance of pre-optimization done (n=98): time 4.419e-06/0.9684, allocations: 0 / 1.405 GB, free: 5.082 MB / 1.123 GB Notification: Performance of matching and sorting (n=98): time 0.005367/0.9738, allocations: 2.084 MB / 1.407 GB, free: 2.992 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/0.9739, allocations: 90.11 kB / 1.407 GB, free: 2.887 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005331/0.9792, allocations: 2.951 MB / 1.41 GB, free: 15.93 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002381/0.9794, allocations: 57.7 kB / 1.41 GB, free: 15.87 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001402/0.9809, allocations: 1.31 MB / 1.411 GB, free: 14.55 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004246/0.9813, allocations: 353.1 kB / 1.411 GB, free: 14.2 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008646/0.9822, allocations: 439.3 kB / 1.412 GB, free: 13.76 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.9823, allocations: 301.1 kB / 1.412 GB, free: 13.46 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002282/0.9846, allocations: 0.9534 MB / 1.413 GB, free: 12.51 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002818/0.9874, allocations: 1.466 MB / 1.415 GB, free: 10.83 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004125/0.9915, allocations: 2.203 MB / 1.417 GB, free: 8.434 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.344e-05/0.9916, allocations: 4 kB / 1.417 GB, free: 8.43 MB / 1.139 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.006424/0.998, allocations: 2.856 MB / 1.42 GB, free: 5.535 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001207/0.9981, allocations: 138.8 kB / 1.42 GB, free: 5.375 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.727e-05/0.9982, allocations: 16.88 kB / 1.42 GB, free: 5.359 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.063e-05/0.9982, allocations: 20 kB / 1.42 GB, free: 5.34 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001812/1, allocations: 407.4 kB / 1.42 GB, free: 4.941 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.142e-05/1, allocations: 35.86 kB / 1.42 GB, free: 4.906 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002885/1.003, allocations: 251.7 kB / 1.42 GB, free: 4.66 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002578/1.003, allocations: 91.95 kB / 1.42 GB, free: 4.57 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003342/1.007, allocations: 1.516 MB / 1.422 GB, free: 3.051 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00266/1.009, allocations: 1.458 MB / 1.423 GB, free: 1.391 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004127/1.013, allocations: 2.198 MB / 1.425 GB, free: 14.99 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.156e-05/1.013, allocations: 4 kB / 1.425 GB, free: 14.99 MB / 1.154 GB Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.006384/1.02, allocations: 2.847 MB / 1.428 GB, free: 12.11 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001174/1.02, allocations: 143.7 kB / 1.428 GB, free: 11.95 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/1.02, allocations: 12 kB / 1.428 GB, free: 11.93 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/1.02, allocations: 24 kB / 1.428 GB, free: 11.91 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/1.022, allocations: 403.4 kB / 1.429 GB, free: 11.52 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.794e-05/1.022, allocations: 27.94 kB / 1.429 GB, free: 11.49 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002811/1.025, allocations: 263.6 kB / 1.429 GB, free: 11.23 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002201/1.025, allocations: 103.9 kB / 1.429 GB, free: 11.13 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,TLoaSet.booPul.y,$PRE.TLoaSet.booPul.y,TSouEnt.booPul.y,$PRE.TSouEnt.booPul.y,pulse.booPul.y,$PRE.pulse.booPul.y,uMod.booPul.y,$PRE.uMod.booPul.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (202): * Single equations (assignments): 196 * Array equations: 1 * Algorithm blocks: 4 * Record equations: 1 * 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.0005171/1.025, allocations: 299.6 kB / 1.429 GB, free: 10.83 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007834/1.026, allocations: 298 kB / 1.43 GB, free: 10.54 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004409/1.031, allocations: 1.865 MB / 1.432 GB, free: 8.668 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003092/1.034, allocations: 1.406 MB / 1.433 GB, free: 7.234 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/1.034, allocations: 0 / 1.433 GB, free: 7.234 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001582/1.035, allocations: 0.5497 MB / 1.434 GB, free: 6.664 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006442/1.036, allocations: 19.98 kB / 1.434 GB, free: 6.645 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001853/1.038, allocations: 131.7 kB / 1.434 GB, free: 6.516 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/1.038, allocations: 76.83 kB / 1.434 GB, free: 6.441 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004201/1.042, allocations: 1.61 MB / 1.435 GB, free: 4.824 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005639/1.048, allocations: 2.695 MB / 1.438 GB, free: 2.109 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001526/1.05, allocations: 0.7105 MB / 1.439 GB, free: 1.398 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.003549/1.053, allocations: 2.003 MB / 1.441 GB, free: 15.4 MB / 1.17 GB Notification: Performance of Backend: time 4.01e-07/1.053, allocations: 3.938 kB / 1.441 GB, free: 15.39 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.009685/1.063, allocations: 4.153 MB / 1.445 GB, free: 11.16 MB / 1.17 GB Notification: Performance of SimCode: time 0.01213/1.075, allocations: 6.047 MB / 1.451 GB, free: 5.074 MB / 1.17 GB Notification: Performance of Templates: time 0.1108/1.186, allocations: 69.38 MB / 1.518 GB, free: 388 kB / 1.232 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches