Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.308/2.308, allocations: 390.3 MB / 405.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 171 kB / 498.1 MB, free: 5.676 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.696/1.696, allocations: 223.2 MB / 0.7948 GB, free: 17.87 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 100.3 kB / 0.9346 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004028/0.0004029, allocations: 13.47 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3508, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.381/1.732, allocations: 439.7 MB / 1.652 GB, free: 5.34 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/1.732, allocations: 95.2 kB / 1.652 GB, free: 5.289 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.131/3.863, allocations: 0.5685 GB / 2.221 GB, free: 110 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.244e-06/3.863, allocations: 0 / 2.221 GB, free: 110 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001851/3.863, allocations: 43.98 kB / 2.221 GB, free: 110 MB / 1.167 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.005797/3.869, allocations: 2.251 MB / 2.223 GB, free: 107.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/3.869, allocations: 8.031 kB / 2.223 GB, free: 107.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005386/3.875, allocations: 0.6845 MB / 2.224 GB, free: 107 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004596/3.879, allocations: 1.897 MB / 2.226 GB, free: 105 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/3.88, allocations: 128.1 kB / 2.226 GB, free: 104.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001952/3.88, allocations: 128 kB / 2.226 GB, free: 104.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003825/3.884, allocations: 1.752 MB / 2.228 GB, free: 102.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/3.884, allocations: 0 / 2.228 GB, free: 102.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00014/3.884, allocations: 52 kB / 2.228 GB, free: 102.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.325e-05/3.884, allocations: 54.19 kB / 2.228 GB, free: 102.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004436/3.888, allocations: 1.539 MB / 2.229 GB, free: 101.3 MB / 1.167 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.00997/3.898, allocations: 7.517 MB / 2.236 GB, free: 93.38 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003993/3.902, allocations: 1.229 MB / 2.238 GB, free: 92.13 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/3.903, allocations: 1.267 MB / 2.239 GB, free: 90.59 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002181/3.906, allocations: 0.738 MB / 2.24 GB, free: 89.84 MB / 1.167 GB Notification: Performance of pre-optimization done (n=79): time 2.585e-06/3.906, allocations: 0 / 2.24 GB, free: 89.84 MB / 1.167 GB Notification: Performance of matching and sorting (n=79): time 0.02179/3.927, allocations: 3.581 MB / 2.243 GB, free: 86.22 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/3.927, allocations: 166.8 kB / 2.243 GB, free: 86.02 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001878/3.929, allocations: 1.189 MB / 2.244 GB, free: 84.82 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002224/3.93, allocations: 45.7 kB / 2.244 GB, free: 84.77 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000538/3.93, allocations: 0.7233 MB / 2.245 GB, free: 84.04 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002517/3.93, allocations: 276.1 kB / 2.245 GB, free: 83.77 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.153e-05/3.93, allocations: 20 kB / 2.245 GB, free: 83.75 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.908e-05/3.931, allocations: 345.9 kB / 2.246 GB, free: 83.41 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001843/3.932, allocations: 0.5406 MB / 2.246 GB, free: 82.87 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001957/3.934, allocations: 0.8491 MB / 2.247 GB, free: 81.89 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001886/3.936, allocations: 0.5945 MB / 2.248 GB, free: 81.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/3.936, allocations: 4 kB / 2.248 GB, free: 81.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.005043/3.941, allocations: 1.695 MB / 2.249 GB, free: 79.59 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004054/3.942, allocations: 2.402 MB / 2.252 GB, free: 77.05 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/3.942, allocations: 8 kB / 2.252 GB, free: 77.04 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001796/3.944, allocations: 0.5831 MB / 2.252 GB, free: 76.46 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/3.945, allocations: 251.6 kB / 2.253 GB, free: 76.21 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001685/3.947, allocations: 1.181 MB / 2.254 GB, free: 75 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002404/3.949, allocations: 242.8 kB / 2.254 GB, free: 74.77 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/3.949, allocations: 59.94 kB / 2.254 GB, free: 74.71 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/3.949, allocations: 11.94 kB / 2.254 GB, free: 74.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004456/3.954, allocations: 1.5 MB / 2.255 GB, free: 73.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/3.954, allocations: 12.09 kB / 2.256 GB, free: 73.18 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001678/3.955, allocations: 0.5594 MB / 2.256 GB, free: 72.62 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/3.957, allocations: 243.6 kB / 2.256 GB, free: 72.38 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001614/3.958, allocations: 1.181 MB / 2.257 GB, free: 71.18 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00239/3.961, allocations: 231 kB / 2.258 GB, free: 70.95 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/3.961, allocations: 55.89 kB / 2.258 GB, free: 70.89 MB / 1.167 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 ($whenCondition1,$PRE.calDat.nextTimeEvent,calDat.nextTimeEvent,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEventScaled,$PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.001273/3.962, allocations: 475.6 kB / 2.258 GB, free: 70.42 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003791/3.963, allocations: 146.2 kB / 2.258 GB, free: 70.28 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004977/3.968, allocations: 1.673 MB / 2.26 GB, free: 68.58 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/3.968, allocations: 8 kB / 2.26 GB, free: 68.57 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/3.968, allocations: 7.953 kB / 2.26 GB, free: 68.57 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004191/3.972, allocations: 1.457 MB / 2.261 GB, free: 67.07 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00811/3.98, allocations: 3.321 MB / 2.265 GB, free: 63.68 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/3.98, allocations: 4 kB / 2.265 GB, free: 63.67 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001133/3.981, allocations: 183.8 kB / 2.265 GB, free: 63.49 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00167/3.983, allocations: 0.5473 MB / 2.265 GB, free: 62.94 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.62e-05/3.983, allocations: 35.95 kB / 2.265 GB, free: 62.91 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/3.984, allocations: 1.174 MB / 2.267 GB, free: 61.71 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/3.984, allocations: 7.953 kB / 2.267 GB, free: 61.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004649/3.989, allocations: 1.707 MB / 2.268 GB, free: 59.93 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/3.99, allocations: 422.9 kB / 2.269 GB, free: 59.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000216/3.99, allocations: 20 kB / 2.269 GB, free: 59.48 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001739/3.992, allocations: 171.7 kB / 2.269 GB, free: 59.31 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/3.992, allocations: 48.58 kB / 2.269 GB, free: 59.26 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/3.992, allocations: 51.94 kB / 2.269 GB, free: 59.21 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001329/3.994, allocations: 0.9338 MB / 2.27 GB, free: 58.28 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.51e-07/3.994, allocations: 0 / 2.27 GB, free: 58.28 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003041/3.997, allocations: 1.072 MB / 2.271 GB, free: 57.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,calDat.nextTimeEvent,calDat.nextTimeEventScaled,heaPum.com.isOn) * Number of discrete states: 3 (calDat.nextTimeEvent,heaPum.com.isOn,calDat.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.002461/3.999, allocations: 1.25 MB / 2.272 GB, free: 56.14 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006386/4.006, allocations: 2.074 MB / 2.274 GB, free: 54.07 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/4.006, allocations: 3.906 kB / 2.274 GB, free: 54.07 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002069/4.008, allocations: 0.6633 MB / 2.275 GB, free: 53.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003741/4.012, allocations: 0.7597 MB / 2.275 GB, free: 52.65 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006003/4.018, allocations: 3.271 MB / 2.279 GB, free: 49.34 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006158/4.018, allocations: 1.294 MB / 2.28 GB, free: 48.01 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002027/4.02, allocations: 392 kB / 2.28 GB, free: 47.62 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003508/4.021, allocations: 143.3 kB / 2.28 GB, free: 47.48 MB / 1.167 GB Notification: Performance of SimCode: time 8.61e-07/4.021, allocations: 0 / 2.28 GB, free: 47.48 MB / 1.167 GB Notification: Performance of Templates: time 0.05765/4.078, allocations: 41.72 MB / 2.321 GB, free: 6.117 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater.csv","../files/Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches