Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.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.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.m1_flow|heaPum.m2_flow|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.QCon_flow|heaPum.QEva_flow|heaPum.P",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.m1_flow|heaPum.m2_flow|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.QCon_flow|heaPum.QEva_flow|heaPum.P",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 114.2 kB / 16.42 MB, free: 6.508 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.001461/0.001461, allocations: 183.9 kB / 17.35 MB, free: 5.754 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.352/1.352, allocations: 222.9 MB / 241.1 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.793/2.793, allocations: 472.7 MB / 0.746 GB, free: 492 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 59.91 kB / 1.07 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7046/0.706, allocations: 159.9 MB / 1.226 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1226/0.8287, allocations: 126.1 MB / 1.35 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02063/0.8493, allocations: 15.46 MB / 1.365 GB, free: 15.48 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002183/0.8515, allocations: 75.56 kB / 1.365 GB, free: 15.41 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00231/0.8539, allocations: 0.9939 MB / 1.366 GB, free: 14.41 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00607/0.86, allocations: 2.729 MB / 1.368 GB, free: 11.68 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004804/0.8648, allocations: 2.133 MB / 1.37 GB, free: 9.559 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.005415/0.8702, allocations: 4.801 MB / 1.375 GB, free: 4.742 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002113/0.8723, allocations: 1.685 MB / 1.377 GB, free: 3.023 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003507/0.8759, allocations: 1.886 MB / 1.379 GB, free: 1.137 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001742/0.8776, allocations: 1.33 MB / 1.38 GB, free: 15.8 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003041/0.8779, allocations: 208 kB / 1.38 GB, free: 15.6 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00394/0.8819, allocations: 2.048 MB / 1.382 GB, free: 13.55 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005021/0.8824, allocations: 0.4984 MB / 1.383 GB, free: 13.05 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.8835, allocations: 1.073 MB / 1.384 GB, free: 11.97 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.005113/0.8887, allocations: 3.715 MB / 1.387 GB, free: 8.246 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.8887, allocations: 0 / 1.387 GB, free: 8.246 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8887, allocations: 0 / 1.387 GB, free: 8.246 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.212e-05/0.8887, allocations: 0 / 1.387 GB, free: 8.246 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.004213/0.893, allocations: 2.525 MB / 1.39 GB, free: 5.645 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.893, allocations: 12.03 kB / 1.39 GB, free: 5.633 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005455/0.8985, allocations: 0.7177 MB / 1.39 GB, free: 4.914 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002743/0.9012, allocations: 1.717 MB / 1.392 GB, free: 3.145 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00015/0.9014, allocations: 132.1 kB / 1.392 GB, free: 3.008 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002042/0.9016, allocations: 124 kB / 1.392 GB, free: 2.887 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003876/0.9055, allocations: 1.727 MB / 1.394 GB, free: 1.059 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/0.9055, allocations: 7.875 kB / 1.394 GB, free: 1.051 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001389/0.9057, allocations: 56 kB / 1.394 GB, free: 0.9961 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.055e-05/0.9057, allocations: 32 kB / 1.394 GB, free: 0.9648 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004668/0.9104, allocations: 1.519 MB / 1.396 GB, free: 15.44 MB / 1.123 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.01005/0.9205, allocations: 7.55 MB / 1.403 GB, free: 7.488 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004079/0.9246, allocations: 1.151 MB / 1.404 GB, free: 6.328 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001969/0.9266, allocations: 0.5981 MB / 1.405 GB, free: 5.727 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001318/0.9279, allocations: 1.271 MB / 1.406 GB, free: 4.18 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002305/0.9302, allocations: 0.6952 MB / 1.407 GB, free: 3.473 MB / 1.123 GB Notification: Performance of pre-optimization done (n=80): time 3.296e-06/0.9302, allocations: 0 / 1.407 GB, free: 3.473 MB / 1.123 GB Notification: Performance of matching and sorting (n=80): time 0.01752/0.9478, allocations: 3.172 MB / 1.41 GB, free: 276 kB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.277e-05/0.9478, allocations: 137.2 kB / 1.41 GB, free: 108 kB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001883/0.9497, allocations: 1.294 MB / 1.411 GB, free: 14.79 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.9499, allocations: 45.7 kB / 1.411 GB, free: 14.74 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006454/0.9505, allocations: 0.7362 MB / 1.412 GB, free: 14 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002821/0.9508, allocations: 285.6 kB / 1.412 GB, free: 13.72 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003809/0.9512, allocations: 226.5 kB / 1.412 GB, free: 13.5 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.9513, allocations: 345.9 kB / 1.413 GB, free: 13.15 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002003/0.9533, allocations: 0.5278 MB / 1.413 GB, free: 12.62 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002232/0.9556, allocations: 0.7983 MB / 1.414 GB, free: 11.71 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004047/0.9596, allocations: 1.24 MB / 1.415 GB, free: 10.39 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/0.9597, allocations: 4 kB / 1.415 GB, free: 10.39 MB / 1.139 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005222/0.9649, allocations: 1.657 MB / 1.417 GB, free: 8.719 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.9649, allocations: 9.562 kB / 1.417 GB, free: 8.711 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.9649, allocations: 8 kB / 1.417 GB, free: 8.703 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001965/0.9669, allocations: 0.5635 MB / 1.417 GB, free: 8.137 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.9683, allocations: 247.6 kB / 1.418 GB, free: 7.895 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001976/0.9702, allocations: 1.17 MB / 1.419 GB, free: 6.695 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/0.9721, allocations: 187.1 kB / 1.419 GB, free: 6.512 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/0.9722, allocations: 59.95 kB / 1.419 GB, free: 6.453 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002402/0.9746, allocations: 0.8336 MB / 1.42 GB, free: 5.613 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002057/0.9767, allocations: 0.7835 MB / 1.421 GB, free: 4.723 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003796/0.9805, allocations: 1.221 MB / 1.422 GB, free: 3.418 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.24e-06/0.9805, allocations: 0 / 1.422 GB, free: 3.418 MB / 1.139 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.005143/0.9857, allocations: 1.645 MB / 1.423 GB, free: 1.766 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.9857, allocations: 11.98 kB / 1.423 GB, free: 1.754 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.9857, allocations: 8.062 kB / 1.423 GB, free: 1.746 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001864/0.9876, allocations: 0.567 MB / 1.424 GB, free: 1.176 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/0.9889, allocations: 247.6 kB / 1.424 GB, free: 0.9336 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001984/0.9909, allocations: 1.174 MB / 1.425 GB, free: 15.73 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/0.9927, allocations: 159.5 kB / 1.425 GB, free: 15.58 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/0.9929, allocations: 51.95 kB / 1.426 GB, free: 15.53 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.calDat.nextTimeEvent,$whenCondition1,heaPum.com.isOn,$PRE.heaPum.com.isOn,calDat.nextTimeEventScaled,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.000382/0.9933, allocations: 247.9 kB / 1.426 GB, free: 15.28 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004192/0.9937, allocations: 159 kB / 1.426 GB, free: 15.12 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01221/1.006, allocations: 2.115 MB / 1.428 GB, free: 12.98 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01174/1.018, allocations: 1.951 MB / 1.43 GB, free: 11 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/1.018, allocations: 0 / 1.43 GB, free: 11 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009845/1.019, allocations: 391.7 kB / 1.43 GB, free: 10.59 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003713/1.019, allocations: 16 kB / 1.43 GB, free: 10.58 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001685/1.021, allocations: 111.9 kB / 1.43 GB, free: 10.47 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/1.021, allocations: 52.52 kB / 1.43 GB, free: 10.42 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00805/1.029, allocations: 1.742 MB / 1.432 GB, free: 8.664 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006896/1.036, allocations: 2.105 MB / 1.434 GB, free: 6.547 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001933/1.038, allocations: 0.5441 MB / 1.435 GB, free: 6 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001497/1.039, allocations: 0.879 MB / 1.436 GB, free: 5.121 MB / 1.154 GB Notification: Performance of Backend: time 5.31e-07/1.039, allocations: 0 / 1.436 GB, free: 5.121 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.008805/1.048, allocations: 2.657 MB / 1.438 GB, free: 2.668 MB / 1.154 GB Notification: Performance of SimCode: time 0.006259/1.055, allocations: 3.616 MB / 1.442 GB, free: 15.02 MB / 1.17 GB Notification: Performance of Templates: time 0.07068/1.125, allocations: 45.78 MB / 1.486 GB, free: 1.586 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches