Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.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.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.errNegTemDif|heaPum.errHigPre|heaPum.errLowPre|heaPum.com.isOn|heaPum.TEvaMin|heaPum.eva.vol.T|heaPum.con.T|heaPum.TConMax|heaPum.QCon_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.errNegTemDif|heaPum.errHigPre|heaPum.errLowPre|heaPum.com.isOn|heaPum.TEvaMin|heaPum.eva.vol.T|heaPum.con.T|heaPum.TConMax|heaPum.QCon_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.063/2.063, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001093/0.001093, allocations: 188.8 kB / 487.4 MB, free: 5.055 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.474/1.474, allocations: 221.5 MB / 0.7824 GB, free: 1.02 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.0009653/0.000965, allocations: 95.89 kB / 0.9219 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.912e-05/1.913e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2853, allocations: 142.4 MB / 1.206 GB, free: 44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.219/1.504, allocations: 434.9 MB / 1.631 GB, free: 3.988 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003449/1.504, allocations: 88.2 kB / 1.631 GB, free: 3.945 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 1.856/3.361, allocations: 0.5603 GB / 2.191 GB, free: 10.97 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.404e-06/3.361, allocations: 0 / 2.191 GB, free: 10.97 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003938/3.361, allocations: 51.92 kB / 2.191 GB, free: 10.92 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.008051/3.369, allocations: 1.974 MB / 2.193 GB, free: 8.887 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/3.369, allocations: 8.031 kB / 2.193 GB, free: 8.879 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005325/3.374, allocations: 0.6922 MB / 2.194 GB, free: 8.184 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004851/3.379, allocations: 1.862 MB / 2.195 GB, free: 6.266 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001836/3.38, allocations: 96.27 kB / 2.196 GB, free: 6.164 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005383/3.38, allocations: 80 kB / 2.196 GB, free: 6.086 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002729/3.383, allocations: 1.149 MB / 2.197 GB, free: 4.934 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003099/3.386, allocations: 1.448 MB / 2.198 GB, free: 3.391 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.91e-05/3.386, allocations: 7.984 kB / 2.198 GB, free: 3.383 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002153/3.386, allocations: 4 kB / 2.198 GB, free: 3.379 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.783e-05/3.386, allocations: 54.45 kB / 2.198 GB, free: 3.324 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.7532/4.14, allocations: 7.07 MB / 2.205 GB, free: 236.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/4.141, allocations: 0.6492 MB / 2.206 GB, free: 236.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005666/4.141, allocations: 384 kB / 2.206 GB, free: 236.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001071/4.142, allocations: 1.268 MB / 2.207 GB, free: 235.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/4.142, allocations: 48.34 kB / 2.207 GB, free: 235.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=77): time 2.745e-06/4.142, allocations: 0 / 2.207 GB, free: 235.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=77): time 0.00465/4.147, allocations: 1.079 MB / 2.208 GB, free: 235.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/4.147, allocations: 189.9 kB / 2.209 GB, free: 235.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001732/4.149, allocations: 1.029 MB / 2.21 GB, free: 234.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001611/4.149, allocations: 35.92 kB / 2.21 GB, free: 234.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006894/4.15, allocations: 0.7758 MB / 2.21 GB, free: 234.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002392/4.15, allocations: 256.7 kB / 2.211 GB, free: 234.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.22e-05/4.15, allocations: 2.625 kB / 2.211 GB, free: 234.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.239e-05/4.15, allocations: 341.8 kB / 2.211 GB, free: 234.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000618/4.151, allocations: 352 kB / 2.211 GB, free: 234.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008101/4.152, allocations: 0.6432 MB / 2.212 GB, free: 233.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001959/4.154, allocations: 0.5261 MB / 2.212 GB, free: 233.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/4.154, allocations: 5.312 kB / 2.212 GB, free: 233.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004964/4.159, allocations: 1.351 MB / 2.214 GB, free: 233.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004426/4.159, allocations: 2.48 MB / 2.216 GB, free: 231.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/4.159, allocations: 6.875 kB / 2.216 GB, free: 231.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008377/4.16, allocations: 367.1 kB / 2.217 GB, free: 231.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/4.161, allocations: 268.2 kB / 2.217 GB, free: 231.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/4.163, allocations: 0.9548 MB / 2.218 GB, free: 230.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002589/4.165, allocations: 250.4 kB / 2.218 GB, free: 230.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/4.165, allocations: 59.62 kB / 2.218 GB, free: 230.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/4.165, allocations: 3.188 kB / 2.218 GB, free: 230.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00468/4.17, allocations: 1.192 MB / 2.219 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/4.17, allocations: 6.594 kB / 2.219 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007572/4.171, allocations: 358.6 kB / 2.22 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/4.172, allocations: 271.7 kB / 2.22 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00113/4.173, allocations: 0.9529 MB / 2.221 GB, free: 230.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00237/4.176, allocations: 218.8 kB / 2.221 GB, free: 230.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/4.176, allocations: 57.23 kB / 2.221 GB, free: 230.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum.temPro.hysHig.y,heaPum.temPro.hysHig.y,$PRE.heaPum.temPro.hysLow.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,$PRE.heaPum.temPro.hysdTConEva.y,heaPum.temPro.hysdTConEva.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * 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 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0004235/4.176, allocations: 143.3 kB / 2.221 GB, free: 229.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003157/4.177, allocations: 137.5 kB / 2.221 GB, free: 229.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004748/4.181, allocations: 1.148 MB / 2.222 GB, free: 229.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-05/4.181, allocations: 12.2 kB / 2.222 GB, free: 229.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/4.181, allocations: 5.328 kB / 2.222 GB, free: 229.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004068/4.186, allocations: 1.028 MB / 2.223 GB, free: 229.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008228/4.194, allocations: 2.889 MB / 2.226 GB, free: 229.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/4.194, allocations: 3.875 kB / 2.226 GB, free: 229.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009595/4.195, allocations: 172.7 kB / 2.226 GB, free: 229.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006763/4.196, allocations: 353.5 kB / 2.227 GB, free: 229.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.796e-05/4.196, allocations: 22.95 kB / 2.227 GB, free: 229.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/4.197, allocations: 0.9526 MB / 2.228 GB, free: 228.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/4.197, allocations: 5.938 kB / 2.228 GB, free: 228.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01081/4.207, allocations: 2.432 MB / 2.23 GB, free: 228 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001365/4.209, allocations: 394.1 kB / 2.23 GB, free: 227.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002253/4.209, allocations: 17.2 kB / 2.23 GB, free: 227.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001657/4.211, allocations: 153.5 kB / 2.231 GB, free: 227.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/4.211, allocations: 79.25 kB / 2.231 GB, free: 227.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/4.211, allocations: 49.28 kB / 2.231 GB, free: 227.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001257/4.212, allocations: 0.7785 MB / 2.232 GB, free: 227.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 6.01e-07/4.212, allocations: 0 / 2.232 GB, free: 227.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003497/4.216, allocations: 1.028 MB / 2.233 GB, free: 227.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 5 (heaPum.com.isOn,heaPum.temPro.hysHig.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,heaPum.temPro.hysdTConEva.y) * Number of discrete states: 4 (heaPum.temPro.hysLow.y,heaPum.temPro.hysHig.y,heaPum.temPro.hysdTConEva.y,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001851/4.218, allocations: 0.9006 MB / 2.233 GB, free: 227.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002739/4.22, allocations: 1.429 MB / 2.235 GB, free: 227.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/4.22, allocations: 1.344 kB / 2.235 GB, free: 227.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000816/4.221, allocations: 476.1 kB / 2.235 GB, free: 227.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002932/4.224, allocations: 0.5887 MB / 2.236 GB, free: 227.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004101/4.228, allocations: 2.066 MB / 2.238 GB, free: 226.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006787/4.229, allocations: 1.302 MB / 2.239 GB, free: 226.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002238/4.231, allocations: 423.5 kB / 2.24 GB, free: 226.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002982/4.232, allocations: 109 kB / 2.24 GB, free: 226.1 MB / 1.151 GB Notification: Performance of SimCode: time 8.42e-07/4.232, allocations: 0 / 2.24 GB, free: 226.1 MB / 1.151 GB Notification: Performance of Templates: time 0.06275/4.294, allocations: 35.79 MB / 2.275 GB, free: 225.4 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection.csv","../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches