Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001687/0.001687, allocations: 122 kB / 16.82 MB, free: 5.754 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.001868/0.001868, allocations: 196.7 kB / 17.77 MB, free: 5.125 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.448/1.448, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.816/2.816, allocations: 476.7 MB / 0.7556 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 68.39 kB / 1.097 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3094, allocations: 168.7 MB / 1.262 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1399/0.4493, allocations: 127 MB / 1.386 GB, free: 13.51 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02553/0.4748, allocations: 15.51 MB / 1.401 GB, free: 13.96 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002724/0.4775, allocations: 79.56 kB / 1.401 GB, free: 13.88 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002981/0.4805, allocations: 1.005 MB / 1.402 GB, free: 12.87 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.007864/0.4884, allocations: 2.723 MB / 1.405 GB, free: 10.14 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.005652/0.494, allocations: 2.157 MB / 1.407 GB, free: 7.996 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.007205/0.5012, allocations: 4.794 MB / 1.412 GB, free: 3.188 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002458/0.5037, allocations: 1.404 MB / 1.413 GB, free: 1.75 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004356/0.508, allocations: 1.88 MB / 1.415 GB, free: 15.87 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002589/0.5106, allocations: 1.4 MB / 1.416 GB, free: 14.46 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0004574/0.5111, allocations: 208 kB / 1.417 GB, free: 14.26 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004837/0.5159, allocations: 2.071 MB / 1.419 GB, free: 12.18 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0007753/0.5167, allocations: 0.5098 MB / 1.419 GB, free: 11.67 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.00171/0.5184, allocations: 1.077 MB / 1.42 GB, free: 10.59 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.006902/0.5253, allocations: 3.71 MB / 1.424 GB, free: 6.867 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.5253, allocations: 0 / 1.424 GB, free: 6.867 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5253, allocations: 0 / 1.424 GB, free: 6.867 MB / 1.139 GB Notification: Performance of Transformations before backend: time 4.997e-05/0.5254, allocations: 4 kB / 1.424 GB, free: 6.863 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: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.005103/0.5305, allocations: 2.524 MB / 1.426 GB, free: 4.266 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.5305, allocations: 12.03 kB / 1.426 GB, free: 4.254 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005884/0.5364, allocations: 0.7177 MB / 1.427 GB, free: 3.535 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003398/0.5398, allocations: 1.71 MB / 1.429 GB, free: 1.77 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/0.54, allocations: 136.1 kB / 1.429 GB, free: 1.629 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002408/0.5402, allocations: 124 kB / 1.429 GB, free: 1.508 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004324/0.5445, allocations: 1.727 MB / 1.431 GB, free: 15.68 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.301e-05/0.5446, allocations: 7.938 kB / 1.431 GB, free: 15.67 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001644/0.5447, allocations: 52 kB / 1.431 GB, free: 15.62 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-05/0.5448, allocations: 35.98 kB / 1.431 GB, free: 15.59 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004994/0.5498, allocations: 1.515 MB / 1.432 GB, free: 14.06 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.0115/0.5613, allocations: 7.551 MB / 1.439 GB, free: 6.113 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004369/0.5656, allocations: 1.104 MB / 1.441 GB, free: 5.008 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002082/0.5677, allocations: 0.5543 MB / 1.441 GB, free: 4.449 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001491/0.5692, allocations: 1.279 MB / 1.442 GB, free: 2.895 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002427/0.5716, allocations: 0.6874 MB / 1.443 GB, free: 2.195 MB / 1.154 GB Notification: Performance of pre-optimization done (n=80): time 3.196e-06/0.5716, allocations: 0 / 1.443 GB, free: 2.195 MB / 1.154 GB Notification: Performance of matching and sorting (n=80): time 0.01902/0.5907, allocations: 3.164 MB / 1.446 GB, free: 15 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.5908, allocations: 141.2 kB / 1.446 GB, free: 14.83 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002065/0.5928, allocations: 1.289 MB / 1.448 GB, free: 13.53 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002078/0.593, allocations: 45.7 kB / 1.448 GB, free: 13.48 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000795/0.5938, allocations: 0.7363 MB / 1.448 GB, free: 12.73 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004094/0.5942, allocations: 293.5 kB / 1.449 GB, free: 12.45 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004142/0.5947, allocations: 222.5 kB / 1.449 GB, free: 12.22 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.5948, allocations: 345.9 kB / 1.449 GB, free: 11.88 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002136/0.597, allocations: 0.5278 MB / 1.45 GB, free: 11.35 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002387/0.5994, allocations: 0.802 MB / 1.45 GB, free: 10.43 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004292/0.6037, allocations: 1.24 MB / 1.452 GB, free: 9.113 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.6037, allocations: 0 / 1.452 GB, free: 9.113 MB / 1.17 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00573/0.6094, allocations: 1.645 MB / 1.453 GB, free: 7.457 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.6094, allocations: 8 kB / 1.453 GB, free: 7.449 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/0.6094, allocations: 15.97 kB / 1.453 GB, free: 7.434 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002123/0.6116, allocations: 0.5709 MB / 1.454 GB, free: 6.863 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/0.613, allocations: 239.6 kB / 1.454 GB, free: 6.629 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/0.6152, allocations: 1.17 MB / 1.455 GB, free: 5.426 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002022/0.6172, allocations: 187.2 kB / 1.455 GB, free: 5.242 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/0.6174, allocations: 59.94 kB / 1.455 GB, free: 5.184 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002708/0.6201, allocations: 0.8259 MB / 1.456 GB, free: 4.355 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002333/0.6224, allocations: 0.7903 MB / 1.457 GB, free: 3.457 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004218/0.6266, allocations: 1.221 MB / 1.458 GB, free: 2.152 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.048e-06/0.6266, allocations: 0 / 1.458 GB, free: 2.152 MB / 1.17 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.00561/0.6323, allocations: 1.634 MB / 1.46 GB, free: 0.5078 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.6323, allocations: 9.406 kB / 1.46 GB, free: 0.5 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.6323, allocations: 12.06 kB / 1.46 GB, free: 500 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002021/0.6343, allocations: 0.5633 MB / 1.46 GB, free: 15.92 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/0.6357, allocations: 251.5 kB / 1.461 GB, free: 15.67 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/0.6379, allocations: 1.166 MB / 1.462 GB, free: 14.48 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001912/0.6398, allocations: 163.4 kB / 1.462 GB, free: 14.32 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/0.6399, allocations: 55.95 kB / 1.462 GB, free: 14.27 MB / 1.186 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.0004021/0.6403, allocations: 246.3 kB / 1.462 GB, free: 14.02 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003986/0.6407, allocations: 167 kB / 1.462 GB, free: 13.86 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0137/0.6544, allocations: 2.107 MB / 1.464 GB, free: 11.73 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01302/0.6674, allocations: 1.943 MB / 1.466 GB, free: 9.75 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.818e-05/0.6675, allocations: 0 / 1.466 GB, free: 9.75 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001351/0.6688, allocations: 383.8 kB / 1.467 GB, free: 9.355 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004104/0.6692, allocations: 20 kB / 1.467 GB, free: 9.336 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001747/0.671, allocations: 107.9 kB / 1.467 GB, free: 9.23 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.6711, allocations: 52.58 kB / 1.467 GB, free: 9.18 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008159/0.6793, allocations: 1.741 MB / 1.469 GB, free: 7.43 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007044/0.6863, allocations: 2.101 MB / 1.471 GB, free: 5.312 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002027/0.6884, allocations: 0.513 MB / 1.471 GB, free: 4.801 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001424/0.6898, allocations: 0.8829 MB / 1.472 GB, free: 3.918 MB / 1.186 GB Notification: Performance of Backend: time 4.31e-07/0.6898, allocations: 0 / 1.472 GB, free: 3.918 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.009833/0.6996, allocations: 2.579 MB / 1.474 GB, free: 1.547 MB / 1.186 GB Notification: Performance of SimCode: time 0.006875/0.7065, allocations: 3.612 MB / 1.478 GB, free: 13.89 MB / 1.201 GB Notification: Performance of Templates: time 0.08083/0.7873, allocations: 46.57 MB / 1.523 GB, free: 15.69 MB / 1.248 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches