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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001511/0.001511, allocations: 111.1 kB / 16.39 MB, free: 6.5 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.001823/0.001823, allocations: 189.5 kB / 17.32 MB, free: 5.777 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.519/2.519, allocations: 442.7 MB / 0.7167 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 56.09 kB / 1.027 GB, free: 1.48 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7605/0.7619, allocations: 153 MB / 1.177 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1236/0.8855, allocations: 126.1 MB / 1.3 GB, free: 12.21 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02163/0.9071, allocations: 15.45 MB / 1.315 GB, free: 12.72 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002371/0.9095, allocations: 79.5 kB / 1.315 GB, free: 12.64 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002892/0.9125, allocations: 0.9588 MB / 1.316 GB, free: 11.68 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.007987/0.9205, allocations: 2.614 MB / 1.319 GB, free: 9.055 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00557/0.9261, allocations: 2.129 MB / 1.321 GB, free: 6.945 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.006278/0.9324, allocations: 4.79 MB / 1.325 GB, free: 2.141 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002705/0.9351, allocations: 1.7 MB / 1.327 GB, free: 420 kB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004159/0.9393, allocations: 1.831 MB / 1.329 GB, free: 14.58 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002415/0.9417, allocations: 1.338 MB / 1.33 GB, free: 13.23 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0005791/0.9423, allocations: 208 kB / 1.33 GB, free: 13.03 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004643/0.947, allocations: 2.044 MB / 1.332 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0007569/0.9478, allocations: 0.4944 MB / 1.333 GB, free: 10.49 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001815/0.9496, allocations: 1.077 MB / 1.334 GB, free: 9.406 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00617/0.9558, allocations: 3.687 MB / 1.337 GB, free: 5.711 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.9558, allocations: 0 / 1.337 GB, free: 5.711 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9558, allocations: 0 / 1.337 GB, free: 5.711 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001175/0.9559, allocations: 0 / 1.337 GB, free: 5.711 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.006388/0.9623, allocations: 2.463 MB / 1.34 GB, free: 3.176 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.9624, allocations: 8.031 kB / 1.34 GB, free: 3.168 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005927/0.9683, allocations: 0.7088 MB / 1.341 GB, free: 2.457 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003668/0.972, allocations: 1.697 MB / 1.342 GB, free: 0.7031 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/0.9722, allocations: 132.1 kB / 1.342 GB, free: 0.5664 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003376/0.9726, allocations: 124 kB / 1.342 GB, free: 456 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004536/0.9771, allocations: 1.72 MB / 1.344 GB, free: 14.62 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.282e-05/0.9772, allocations: 7.938 kB / 1.344 GB, free: 14.62 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000189/0.9774, allocations: 56 kB / 1.344 GB, free: 14.56 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.794e-05/0.9774, allocations: 35.98 kB / 1.344 GB, free: 14.53 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005089/0.9825, allocations: 1.515 MB / 1.346 GB, free: 13 MB / 1.076 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.01195/0.9945, allocations: 7.537 MB / 1.353 GB, free: 5.059 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004317/0.9989, allocations: 1.162 MB / 1.354 GB, free: 3.891 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002016/1.001, allocations: 0.5993 MB / 1.355 GB, free: 3.289 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001369/1.002, allocations: 1.271 MB / 1.356 GB, free: 1.742 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00236/1.005, allocations: 0.6874 MB / 1.357 GB, free: 1.043 MB / 1.076 GB Notification: Performance of pre-optimization done (n=80): time 3.397e-06/1.005, allocations: 4 kB / 1.357 GB, free: 1.039 MB / 1.076 GB Notification: Performance of matching and sorting (n=80): time 0.01846/1.023, allocations: 3.163 MB / 1.36 GB, free: 13.84 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/1.023, allocations: 137.2 kB / 1.36 GB, free: 13.68 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002027/1.025, allocations: 1.298 MB / 1.361 GB, free: 12.37 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001578/1.025, allocations: 49.64 kB / 1.361 GB, free: 12.31 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006602/1.026, allocations: 0.727 MB / 1.362 GB, free: 11.58 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002967/1.026, allocations: 272.1 kB / 1.362 GB, free: 11.31 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003649/1.027, allocations: 226.4 kB / 1.362 GB, free: 11.08 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001274/1.027, allocations: 345.9 kB / 1.363 GB, free: 10.74 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002021/1.029, allocations: 0.5278 MB / 1.363 GB, free: 10.21 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002377/1.031, allocations: 0.8022 MB / 1.364 GB, free: 9.297 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004096/1.035, allocations: 1.233 MB / 1.365 GB, free: 7.98 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/1.036, allocations: 4 kB / 1.365 GB, free: 7.977 MB / 1.092 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00586/1.041, allocations: 1.652 MB / 1.367 GB, free: 6.312 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/1.041, allocations: 8 kB / 1.367 GB, free: 6.305 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/1.041, allocations: 8 kB / 1.367 GB, free: 6.297 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002126/1.044, allocations: 0.564 MB / 1.367 GB, free: 5.73 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/1.045, allocations: 239.6 kB / 1.368 GB, free: 5.496 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/1.047, allocations: 1.173 MB / 1.369 GB, free: 4.293 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002091/1.049, allocations: 186.8 kB / 1.369 GB, free: 4.109 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00019/1.049, allocations: 59.94 kB / 1.369 GB, free: 4.051 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002671/1.052, allocations: 0.8298 MB / 1.37 GB, free: 3.215 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002266/1.054, allocations: 0.7864 MB / 1.371 GB, free: 2.32 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004079/1.059, allocations: 1.217 MB / 1.372 GB, free: 1.023 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.663e-06/1.059, allocations: 0 / 1.372 GB, free: 1.023 MB / 1.092 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.005565/1.064, allocations: 1.637 MB / 1.373 GB, free: 15.38 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/1.064, allocations: 8 kB / 1.373 GB, free: 15.37 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/1.064, allocations: 8.062 kB / 1.373 GB, free: 15.36 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00196/1.066, allocations: 0.5748 MB / 1.374 GB, free: 14.78 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/1.067, allocations: 243.6 kB / 1.374 GB, free: 14.54 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/1.07, allocations: 1.166 MB / 1.375 GB, free: 13.35 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/1.071, allocations: 159.3 kB / 1.376 GB, free: 13.2 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/1.072, allocations: 51.95 kB / 1.376 GB, free: 13.14 MB / 1.107 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.000395/1.072, allocations: 251.4 kB / 1.376 GB, free: 12.89 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004545/1.072, allocations: 154.2 kB / 1.376 GB, free: 12.74 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01324/1.086, allocations: 2.126 MB / 1.378 GB, free: 10.6 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01396/1.1, allocations: 1.951 MB / 1.38 GB, free: 8.617 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/1.1, allocations: 0 / 1.38 GB, free: 8.617 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008909/1.101, allocations: 382.9 kB / 1.38 GB, free: 8.223 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003791/1.101, allocations: 16 kB / 1.38 GB, free: 8.207 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001772/1.103, allocations: 111.9 kB / 1.38 GB, free: 8.098 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/1.103, allocations: 48.58 kB / 1.38 GB, free: 8.047 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007832/1.111, allocations: 1.745 MB / 1.382 GB, free: 6.297 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006603/1.117, allocations: 2.088 MB / 1.384 GB, free: 4.188 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001932/1.119, allocations: 0.5441 MB / 1.385 GB, free: 3.645 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.00148/1.121, allocations: 0.8829 MB / 1.386 GB, free: 2.762 MB / 1.107 GB Notification: Performance of Backend: time 5.21e-07/1.121, allocations: 0 / 1.386 GB, free: 2.762 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.009024/1.13, allocations: 2.634 MB / 1.388 GB, free: 340 kB / 1.107 GB Notification: Performance of SimCode: time 0.007062/1.137, allocations: 3.558 MB / 1.392 GB, free: 12.74 MB / 1.123 GB Notification: Performance of Templates: time 0.07232/1.209, allocations: 45.48 MB / 1.436 GB, free: 15.61 MB / 1.17 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