Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001963/0.001962, allocations: 112.9 kB / 16.42 MB, free: 6.453 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.002075/0.002076, allocations: 190.7 kB / 17.35 MB, free: 5.703 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.476/2.476, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 64.08 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6938/0.6953, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1273/0.8226, allocations: 126.1 MB / 1.291 GB, free: 5.266 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0217/0.8443, allocations: 15.45 MB / 1.306 GB, free: 5.773 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002444/0.8468, allocations: 79.5 kB / 1.306 GB, free: 5.695 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002805/0.8496, allocations: 0.9899 MB / 1.307 GB, free: 4.699 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.007261/0.857, allocations: 2.727 MB / 1.309 GB, free: 1.965 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00561/0.8626, allocations: 2.135 MB / 1.311 GB, free: 15.84 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.006537/0.8691, allocations: 4.801 MB / 1.316 GB, free: 11.03 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002768/0.8719, allocations: 1.697 MB / 1.318 GB, free: 9.301 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003959/0.8759, allocations: 1.869 MB / 1.32 GB, free: 7.43 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002242/0.8782, allocations: 1.335 MB / 1.321 GB, free: 6.09 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004995/0.8787, allocations: 204 kB / 1.321 GB, free: 5.891 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004344/0.883, allocations: 2.048 MB / 1.323 GB, free: 3.84 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0006667/0.8837, allocations: 0.4945 MB / 1.324 GB, free: 3.344 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001628/0.8854, allocations: 1.081 MB / 1.325 GB, free: 2.258 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.006285/0.8917, allocations: 3.711 MB / 1.328 GB, free: 14.54 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.8917, allocations: 0 / 1.328 GB, free: 14.54 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8917, allocations: 0 / 1.328 GB, free: 14.54 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.197e-05/0.8918, allocations: 0 / 1.328 GB, free: 14.54 MB / 1.061 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.005444/0.8972, allocations: 2.522 MB / 1.331 GB, free: 11.94 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.8973, allocations: 8.922 kB / 1.331 GB, free: 11.93 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005885/0.9032, allocations: 0.7216 MB / 1.331 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003657/0.9069, allocations: 1.707 MB / 1.333 GB, free: 9.449 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001796/0.9071, allocations: 132.1 kB / 1.333 GB, free: 9.312 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002845/0.9074, allocations: 131.9 kB / 1.333 GB, free: 9.184 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004512/0.9119, allocations: 1.731 MB / 1.335 GB, free: 7.352 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.243e-05/0.9119, allocations: 0 / 1.335 GB, free: 7.352 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002062/0.9122, allocations: 59.98 kB / 1.335 GB, free: 7.293 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.468e-05/0.9122, allocations: 39.94 kB / 1.335 GB, free: 7.254 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005165/0.9174, allocations: 1.512 MB / 1.337 GB, free: 5.734 MB / 1.061 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.01058/0.928, allocations: 7.546 MB / 1.344 GB, free: 13.79 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004347/0.9324, allocations: 1.163 MB / 1.345 GB, free: 12.61 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002105/0.9345, allocations: 0.5894 MB / 1.346 GB, free: 12.02 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00135/0.9359, allocations: 1.271 MB / 1.347 GB, free: 10.48 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002421/0.9383, allocations: 0.6951 MB / 1.348 GB, free: 9.766 MB / 1.076 GB Notification: Performance of pre-optimization done (n=80): time 3.867e-06/0.9383, allocations: 0 / 1.348 GB, free: 9.766 MB / 1.076 GB Notification: Performance of matching and sorting (n=80): time 0.01914/0.9575, allocations: 3.168 MB / 1.351 GB, free: 6.566 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.916e-05/0.9576, allocations: 141.2 kB / 1.351 GB, free: 6.398 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001939/0.9595, allocations: 1.29 MB / 1.352 GB, free: 5.094 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001533/0.9597, allocations: 49.64 kB / 1.352 GB, free: 5.039 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006494/0.9603, allocations: 0.7401 MB / 1.353 GB, free: 4.293 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002921/0.9606, allocations: 289.6 kB / 1.353 GB, free: 4.008 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004088/0.9611, allocations: 222.5 kB / 1.353 GB, free: 3.785 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.9612, allocations: 349.9 kB / 1.354 GB, free: 3.438 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002081/0.9633, allocations: 0.5278 MB / 1.354 GB, free: 2.906 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002294/0.9656, allocations: 0.7981 MB / 1.355 GB, free: 2 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004196/0.9698, allocations: 1.233 MB / 1.356 GB, free: 0.6836 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.9698, allocations: 7.938 kB / 1.356 GB, free: 0.6758 MB / 1.076 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005564/0.9754, allocations: 1.669 MB / 1.358 GB, free: 15 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.9754, allocations: 8 kB / 1.358 GB, free: 14.99 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.9754, allocations: 4 kB / 1.358 GB, free: 14.98 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002105/0.9776, allocations: 0.5668 MB / 1.358 GB, free: 14.41 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.979, allocations: 251.6 kB / 1.359 GB, free: 14.17 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002069/0.981, allocations: 1.17 MB / 1.36 GB, free: 12.97 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/0.9829, allocations: 183.1 kB / 1.36 GB, free: 12.79 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/0.9831, allocations: 59.94 kB / 1.36 GB, free: 12.73 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002551/0.9856, allocations: 0.8298 MB / 1.361 GB, free: 11.9 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002202/0.9879, allocations: 0.7937 MB / 1.362 GB, free: 11 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004057/0.9919, allocations: 1.213 MB / 1.363 GB, free: 9.703 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.648e-06/0.992, allocations: 4 kB / 1.363 GB, free: 9.699 MB / 1.092 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.005411/0.9974, allocations: 1.641 MB / 1.364 GB, free: 8.051 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.9974, allocations: 8 kB / 1.364 GB, free: 8.043 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.9974, allocations: 4 kB / 1.364 GB, free: 8.039 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001963/0.9994, allocations: 0.5755 MB / 1.365 GB, free: 7.461 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/1.001, allocations: 239.6 kB / 1.365 GB, free: 7.227 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002026/1.003, allocations: 1.174 MB / 1.366 GB, free: 6.027 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/1.005, allocations: 155.5 kB / 1.366 GB, free: 5.875 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/1.005, allocations: 55.94 kB / 1.367 GB, free: 5.82 MB / 1.092 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.0003593/1.005, allocations: 245.3 kB / 1.367 GB, free: 5.574 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000399/1.006, allocations: 155.1 kB / 1.367 GB, free: 5.422 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01346/1.019, allocations: 2.123 MB / 1.369 GB, free: 3.277 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01272/1.032, allocations: 1.951 MB / 1.371 GB, free: 1.293 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/1.032, allocations: 4 kB / 1.371 GB, free: 1.289 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008539/1.033, allocations: 387.7 kB / 1.371 GB, free: 0.8906 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003649/1.033, allocations: 19.98 kB / 1.371 GB, free: 0.8711 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001737/1.035, allocations: 107.9 kB / 1.371 GB, free: 0.7656 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/1.035, allocations: 48.58 kB / 1.371 GB, free: 0.7148 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008136/1.043, allocations: 1.753 MB / 1.373 GB, free: 14.95 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006823/1.05, allocations: 2.09 MB / 1.375 GB, free: 12.84 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002006/1.052, allocations: 0.5441 MB / 1.376 GB, free: 12.3 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001396/1.053, allocations: 0.8868 MB / 1.377 GB, free: 11.42 MB / 1.107 GB Notification: Performance of Backend: time 4.31e-07/1.053, allocations: 0 / 1.377 GB, free: 11.42 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.008872/1.062, allocations: 2.653 MB / 1.379 GB, free: 8.934 MB / 1.107 GB Notification: Performance of SimCode: time 0.006661/1.069, allocations: 3.62 MB / 1.383 GB, free: 5.273 MB / 1.107 GB Notification: Performance of Templates: time 0.06989/1.139, allocations: 45.78 MB / 1.427 GB, free: 7.773 MB / 1.154 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches