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.12/2.12, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001055/0.001055, allocations: 184.8 kB / 487.4 MB, free: 5.043 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.409/1.409, allocations: 221.5 MB / 0.7824 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008184/0.0008184, allocations: 104.5 kB / 0.9219 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.611e-05/1.611e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2379, allocations: 142.4 MB / 1.206 GB, free: 44.01 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.019/1.257, allocations: 439 MB / 1.635 GB, free: 15.97 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/1.257, allocations: 95.88 kB / 1.635 GB, free: 15.93 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 1.673/2.93, allocations: 0.5637 GB / 2.198 GB, free: 3.316 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.112e-06/2.93, allocations: 0 / 2.198 GB, free: 3.316 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001502/2.931, allocations: 47.94 kB / 2.198 GB, free: 3.27 MB / 1.151 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.003658/2.934, allocations: 1.956 MB / 2.2 GB, free: 1.25 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/2.934, allocations: 8.031 kB / 2.2 GB, free: 1.242 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004472/2.939, allocations: 0.6767 MB / 2.201 GB, free: 0.5625 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.715/3.654, allocations: 1.887 MB / 2.203 GB, free: 239.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/3.654, allocations: 86.95 kB / 2.203 GB, free: 239.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002231/3.654, allocations: 72.69 kB / 2.203 GB, free: 239.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002411/3.657, allocations: 1.111 MB / 2.204 GB, free: 239.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002463/3.659, allocations: 1.39 MB / 2.205 GB, free: 239.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/3.659, allocations: 3.969 kB / 2.205 GB, free: 239.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/3.659, allocations: 3.812 kB / 2.205 GB, free: 239.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.002e-05/3.659, allocations: 52.03 kB / 2.206 GB, free: 239.5 MB / 1.151 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.01078/3.67, allocations: 7.266 MB / 2.213 GB, free: 236.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/3.672, allocations: 0.8962 MB / 2.214 GB, free: 236.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006631/3.672, allocations: 459 kB / 2.214 GB, free: 236.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001142/3.674, allocations: 1.274 MB / 2.215 GB, free: 234.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009691/3.675, allocations: 0.5432 MB / 2.216 GB, free: 234.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=79): time 3.176e-06/3.675, allocations: 0 / 2.216 GB, free: 234.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=79): time 0.005256/3.68, allocations: 1.28 MB / 2.217 GB, free: 234.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.905e-05/3.68, allocations: 166.2 kB / 2.217 GB, free: 234.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001898/3.682, allocations: 1.003 MB / 2.218 GB, free: 234.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001976/3.682, allocations: 32.98 kB / 2.218 GB, free: 234.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007358/3.683, allocations: 0.738 MB / 2.219 GB, free: 234 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002942/3.683, allocations: 262.7 kB / 2.219 GB, free: 233.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.066e-05/3.683, allocations: 0 / 2.219 GB, free: 233.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.162e-05/3.683, allocations: 339.6 kB / 2.219 GB, free: 233.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006178/3.684, allocations: 376.9 kB / 2.22 GB, free: 233.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007866/3.685, allocations: 0.6581 MB / 2.22 GB, free: 233.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00209/3.687, allocations: 0.5477 MB / 2.221 GB, free: 233.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/3.687, allocations: 4.078 kB / 2.221 GB, free: 233.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.003744/3.691, allocations: 1.36 MB / 2.222 GB, free: 233.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004777/3.691, allocations: 2.397 MB / 2.225 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/3.691, allocations: 5.75 kB / 2.225 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/3.692, allocations: 433.5 kB / 2.225 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/3.694, allocations: 254 kB / 2.225 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/3.695, allocations: 1.153 MB / 2.226 GB, free: 230.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002447/3.698, allocations: 224.6 kB / 2.227 GB, free: 230.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/3.698, allocations: 53.66 kB / 2.227 GB, free: 230.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/3.698, allocations: 4.219 kB / 2.227 GB, free: 230.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003306/3.701, allocations: 1.191 MB / 2.228 GB, free: 230 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/3.701, allocations: 7.438 kB / 2.228 GB, free: 230 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00082/3.702, allocations: 431 kB / 2.228 GB, free: 230 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/3.703, allocations: 239.6 kB / 2.229 GB, free: 230 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/3.705, allocations: 1.154 MB / 2.23 GB, free: 229.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002231/3.707, allocations: 193.1 kB / 2.23 GB, free: 229.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/3.707, allocations: 54.98 kB / 2.23 GB, free: 229.5 MB / 1.151 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.0004072/3.707, allocations: 130.3 kB / 2.23 GB, free: 229.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003904/3.708, allocations: 133 kB / 2.23 GB, free: 229.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002692/3.711, allocations: 1.3 MB / 2.231 GB, free: 229.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/3.711, allocations: 8.969 kB / 2.231 GB, free: 229.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/3.711, allocations: 0 / 2.231 GB, free: 229.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001747/3.712, allocations: 1.099 MB / 2.232 GB, free: 229 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00464/3.717, allocations: 2.818 MB / 2.235 GB, free: 228.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/3.717, allocations: 0 / 2.235 GB, free: 228.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/3.718, allocations: 182 kB / 2.235 GB, free: 228.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007852/3.719, allocations: 428 kB / 2.236 GB, free: 228.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.731e-05/3.719, allocations: 27 kB / 2.236 GB, free: 228.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001233/3.72, allocations: 1.144 MB / 2.237 GB, free: 228.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/3.72, allocations: 3.438 kB / 2.237 GB, free: 228.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002475/3.723, allocations: 1.337 MB / 2.238 GB, free: 227.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007779/3.723, allocations: 416.8 kB / 2.239 GB, free: 227.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002032/3.724, allocations: 6.469 kB / 2.239 GB, free: 227.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/3.725, allocations: 148.5 kB / 2.239 GB, free: 227.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/3.725, allocations: 61.69 kB / 2.239 GB, free: 227.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/3.726, allocations: 54.52 kB / 2.239 GB, free: 227.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001113/3.727, allocations: 0.758 MB / 2.24 GB, free: 227.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.9e-07/3.727, allocations: 1.031 kB / 2.24 GB, free: 227.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003379/3.73, allocations: 1.034 MB / 2.241 GB, free: 227.4 MB / 1.151 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.002578/3.733, allocations: 1.178 MB / 2.242 GB, free: 227.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00305/3.736, allocations: 1.562 MB / 2.243 GB, free: 227.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/3.736, allocations: 2.625 kB / 2.243 GB, free: 227.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008431/3.737, allocations: 488.9 kB / 2.244 GB, free: 227.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00367/3.74, allocations: 0.6651 MB / 2.244 GB, free: 227.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004212/3.745, allocations: 1.886 MB / 2.246 GB, free: 226.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/3.746, allocations: 1.3 MB / 2.248 GB, free: 226 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002476/3.748, allocations: 457.9 kB / 2.248 GB, free: 225.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003204/3.748, allocations: 108.3 kB / 2.248 GB, free: 225.9 MB / 1.151 GB Notification: Performance of SimCode: time 9.82e-07/3.748, allocations: 0 / 2.248 GB, free: 225.9 MB / 1.151 GB Notification: Performance of Templates: time 0.06482/3.813, allocations: 38.36 MB / 2.286 GB, free: 225.1 MB / 1.151 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