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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.274/2.274, allocations: 390.3 MB / 402.8 MB, free: 6.715 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.001086/0.001086, allocations: 180.8 kB / 496.1 MB, free: 12.9 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 221.3 MB / 0.7915 GB, free: 5.434 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.0009558/0.0009559, allocations: 95.94 kB / 0.9318 GB, free: 5.734 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.982e-05/2.986e-05, allocations: 0 / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3218, allocations: 143 MB / 1.219 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.41/1.732, allocations: 440.4 MB / 1.649 GB, free: 10.1 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000399/1.732, allocations: 96.94 kB / 1.649 GB, free: 10 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 3.283/5.015, allocations: 0.5665 GB / 2.215 GB, free: 233.3 MB / 1.135 GB Notification: Performance of FrontEnd: time 3.667e-06/5.016, allocations: 3.938 kB / 2.215 GB, free: 233.3 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0004396/5.016, allocations: 49.75 kB / 2.216 GB, free: 233.3 MB / 1.135 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.008712/5.025, allocations: 1.962 MB / 2.217 GB, free: 232.5 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 6.589e-05/5.025, allocations: 9.844 kB / 2.217 GB, free: 232.5 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005795/5.031, allocations: 0.6782 MB / 2.218 GB, free: 232.4 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006887/5.038, allocations: 1.876 MB / 2.22 GB, free: 232.1 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003069/5.038, allocations: 138.1 kB / 2.22 GB, free: 232 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006699/5.039, allocations: 126 kB / 2.22 GB, free: 232 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005086/5.044, allocations: 1.566 MB / 2.222 GB, free: 231.8 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.287e-05/5.044, allocations: 1.5 kB / 2.222 GB, free: 231.8 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004323/5.044, allocations: 57.12 kB / 2.222 GB, free: 231.8 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.616e-05/5.044, allocations: 51.58 kB / 2.222 GB, free: 231.7 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003145/5.047, allocations: 1.19 MB / 2.223 GB, free: 231.7 MB / 1.135 GB Warning: The model contains alias variables with conflicting start and/or 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.01422/5.062, allocations: 7.516 MB / 2.23 GB, free: 228.4 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001839/5.064, allocations: 0.9418 MB / 2.231 GB, free: 228.3 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007774/5.064, allocations: 474.8 kB / 2.232 GB, free: 228.3 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001371/5.066, allocations: 1.274 MB / 2.233 GB, free: 226.9 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001139/5.067, allocations: 0.5784 MB / 2.234 GB, free: 226.8 MB / 1.135 GB Notification: Performance of pre-optimization done (n=79): time 6.482e-06/5.067, allocations: 3.906 kB / 2.234 GB, free: 226.8 MB / 1.135 GB Notification: Performance of matching and sorting (n=79): time 0.004343/5.071, allocations: 1.199 MB / 2.235 GB, free: 226.7 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.247e-05/5.071, allocations: 170 kB / 2.235 GB, free: 226.5 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002662/5.074, allocations: 1.159 MB / 2.236 GB, free: 226.3 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.0002428/5.074, allocations: 50.42 kB / 2.236 GB, free: 226.3 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.001204/5.075, allocations: 0.7355 MB / 2.237 GB, free: 226.1 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004624/5.076, allocations: 270.6 kB / 2.237 GB, free: 225.9 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.931e-05/5.076, allocations: 18.12 kB / 2.237 GB, free: 225.9 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0001898/5.076, allocations: 341.4 kB / 2.237 GB, free: 225.6 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007952/5.077, allocations: 387.2 kB / 2.238 GB, free: 225.6 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/5.078, allocations: 0.6797 MB / 2.238 GB, free: 225.3 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/5.079, allocations: 436.6 kB / 2.239 GB, free: 225.3 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.09e-05/5.079, allocations: 2.438 kB / 2.239 GB, free: 225.3 MB / 1.135 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.003316/5.083, allocations: 1.322 MB / 2.24 GB, free: 225.1 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.001247/5.084, allocations: 2.407 MB / 2.242 GB, free: 222.7 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.836e-05/5.084, allocations: 3.938 kB / 2.242 GB, free: 222.7 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002179/5.086, allocations: 0.5157 MB / 2.243 GB, free: 222.7 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/5.088, allocations: 242.5 kB / 2.243 GB, free: 222.7 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/5.089, allocations: 1.091 MB / 2.244 GB, free: 222.1 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003136/5.092, allocations: 247.8 kB / 2.245 GB, free: 222.1 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002143/5.093, allocations: 59.16 kB / 2.245 GB, free: 222.1 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/5.093, allocations: 8.719 kB / 2.245 GB, free: 222.1 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002497/5.095, allocations: 1.157 MB / 2.246 GB, free: 222.1 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.508e-05/5.095, allocations: 7.75 kB / 2.246 GB, free: 222.1 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001763/5.097, allocations: 0.5094 MB / 2.246 GB, free: 222.1 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/5.098, allocations: 241.5 kB / 2.246 GB, free: 222.1 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/5.1, allocations: 1.096 MB / 2.248 GB, free: 221.5 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002749/5.103, allocations: 223.6 kB / 2.248 GB, free: 221.5 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001998/5.103, allocations: 56.47 kB / 2.248 GB, free: 221.5 MB / 1.135 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 () * 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.0005277/5.103, allocations: 167.1 kB / 2.248 GB, free: 221.4 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007327/5.104, allocations: 150.6 kB / 2.248 GB, free: 221.3 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003042/5.107, allocations: 1.346 MB / 2.249 GB, free: 221.2 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/5.107, allocations: 10.75 kB / 2.249 GB, free: 221.2 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/5.107, allocations: 0 / 2.249 GB, free: 221.2 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001778/5.109, allocations: 1.125 MB / 2.25 GB, free: 221 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006512/5.116, allocations: 3.004 MB / 2.253 GB, free: 220.6 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/5.116, allocations: 0 / 2.253 GB, free: 220.6 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/5.117, allocations: 185.4 kB / 2.254 GB, free: 220.6 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001738/5.118, allocations: 0.4926 MB / 2.254 GB, free: 220.6 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/5.119, allocations: 41.88 kB / 2.254 GB, free: 220.6 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/5.12, allocations: 1.079 MB / 2.255 GB, free: 220 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/5.12, allocations: 0 / 2.255 GB, free: 220 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00305/5.123, allocations: 1.383 MB / 2.257 GB, free: 219.7 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001719/5.125, allocations: 421.4 kB / 2.257 GB, free: 219.5 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007805/5.126, allocations: 23.77 kB / 2.257 GB, free: 219.5 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002663/5.128, allocations: 164.4 kB / 2.257 GB, free: 219.5 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/5.129, allocations: 55.55 kB / 2.257 GB, free: 219.5 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001949/5.129, allocations: 53.03 kB / 2.257 GB, free: 219.5 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.00243/5.131, allocations: 0.9007 MB / 2.258 GB, free: 219.4 MB / 1.135 GB Notification: Performance of sort global known variables: time 2.1e-07/5.131, allocations: 0 / 2.258 GB, free: 219.4 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.006056/5.137, allocations: 1.07 MB / 2.259 GB, free: 219.2 MB / 1.135 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) * 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.004094/5.141, allocations: 1.204 MB / 2.26 GB, free: 218.9 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.003778/5.145, allocations: 1.643 MB / 2.262 GB, free: 218.9 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 9.779e-06/5.145, allocations: 3.781 kB / 2.262 GB, free: 218.9 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/5.146, allocations: 0.5177 MB / 2.262 GB, free: 218.9 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004617/5.151, allocations: 0.7595 MB / 2.263 GB, free: 218.9 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005685/5.157, allocations: 1.947 MB / 2.265 GB, free: 218.3 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/5.158, allocations: 1.299 MB / 2.266 GB, free: 217.6 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.00314/5.161, allocations: 485.8 kB / 2.267 GB, free: 217.6 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003832/5.161, allocations: 117 kB / 2.267 GB, free: 217.6 MB / 1.135 GB Notification: Performance of SimCode: time 1.683e-06/5.161, allocations: 0 / 2.267 GB, free: 217.6 MB / 1.135 GB Notification: Performance of Templates: time 0.08189/5.243, allocations: 44.97 MB / 2.311 GB, free: 214.7 MB / 1.135 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","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches