Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.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.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_latest_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_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.432/2.432, allocations: 390.5 MB / 398 MB, free: 10.98 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.001303/0.001303, allocations: 187.1 kB / 491.2 MB, free: 1.602 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.685/1.685, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.0009438/0.0009437, allocations: 95.52 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.05e-05/2.054e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3198, allocations: 143 MB / 1.212 GB, free: 39.56 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.437/1.757, allocations: 435.6 MB / 1.638 GB, free: 11.54 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003523/1.757, allocations: 91.39 kB / 1.638 GB, free: 11.49 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 3.228/4.986, allocations: 0.5603 GB / 2.198 GB, free: 238.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.276e-06/4.986, allocations: 0 / 2.198 GB, free: 238.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000406/4.986, allocations: 46.48 kB / 2.198 GB, free: 238.2 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.006771/4.993, allocations: 1.976 MB / 2.2 GB, free: 237.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/4.993, allocations: 10.25 kB / 2.2 GB, free: 237.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005707/4.999, allocations: 0.6842 MB / 2.201 GB, free: 237.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005175/5.004, allocations: 1.87 MB / 2.203 GB, free: 237.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001611/5.004, allocations: 95.2 kB / 2.203 GB, free: 237.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002611/5.004, allocations: 79.12 kB / 2.203 GB, free: 237.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002712/5.007, allocations: 1.148 MB / 2.204 GB, free: 237.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00295/5.01, allocations: 1.443 MB / 2.205 GB, free: 237 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.709e-05/5.01, allocations: 2 kB / 2.205 GB, free: 237 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/5.01, allocations: 4.438 kB / 2.205 GB, free: 237 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.923e-05/5.01, allocations: 60.7 kB / 2.205 GB, free: 237 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.01245/5.023, allocations: 7.074 MB / 2.212 GB, free: 234.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/5.024, allocations: 0.6621 MB / 2.213 GB, free: 234.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005877/5.025, allocations: 379.4 kB / 2.213 GB, free: 234.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001332/5.026, allocations: 1.272 MB / 2.214 GB, free: 232.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.725e-05/5.026, allocations: 52.3 kB / 2.215 GB, free: 232.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=77): time 2.855e-06/5.026, allocations: 0 / 2.215 GB, free: 232.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=77): time 0.005059/5.031, allocations: 1.073 MB / 2.216 GB, free: 232.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.03e-05/5.031, allocations: 193.1 kB / 2.216 GB, free: 232.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002085/5.033, allocations: 1.033 MB / 2.217 GB, free: 232.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002013/5.034, allocations: 33.36 kB / 2.217 GB, free: 232.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007924/5.034, allocations: 0.7676 MB / 2.218 GB, free: 231.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002832/5.035, allocations: 258.3 kB / 2.218 GB, free: 231.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.531e-05/5.035, allocations: 0.875 kB / 2.218 GB, free: 231.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.151e-05/5.035, allocations: 347 kB / 2.218 GB, free: 231.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006356/5.036, allocations: 352.4 kB / 2.218 GB, free: 231.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008198/5.036, allocations: 0.6451 MB / 2.219 GB, free: 231.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002087/5.038, allocations: 0.5212 MB / 2.22 GB, free: 231.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/5.038, allocations: 2.75 kB / 2.22 GB, free: 231.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.005428/5.044, allocations: 1.351 MB / 2.221 GB, free: 230.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005568/5.044, allocations: 2.483 MB / 2.223 GB, free: 228.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.257e-05/5.045, allocations: 8.062 kB / 2.223 GB, free: 228.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/5.046, allocations: 365.3 kB / 2.224 GB, free: 228.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001605/5.047, allocations: 268.8 kB / 2.224 GB, free: 228.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/5.049, allocations: 0.9514 MB / 2.225 GB, free: 227.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003061/5.052, allocations: 253.5 kB / 2.225 GB, free: 227.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/5.052, allocations: 60.69 kB / 2.225 GB, free: 227.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.412e-05/5.052, allocations: 4.938 kB / 2.225 GB, free: 227.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005183/5.057, allocations: 1.187 MB / 2.226 GB, free: 227.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/5.057, allocations: 5.469 kB / 2.226 GB, free: 227.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008346/5.058, allocations: 361.2 kB / 2.227 GB, free: 227.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/5.06, allocations: 276.5 kB / 2.227 GB, free: 227.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/5.061, allocations: 0.9563 MB / 2.228 GB, free: 227.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002569/5.063, allocations: 205.5 kB / 2.228 GB, free: 227.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/5.064, allocations: 57.33 kB / 2.228 GB, free: 227.2 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.0004244/5.064, allocations: 141.8 kB / 2.228 GB, free: 227.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003533/5.064, allocations: 139.2 kB / 2.228 GB, free: 227.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004885/5.069, allocations: 1.149 MB / 2.23 GB, free: 227 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/5.069, allocations: 7.875 kB / 2.23 GB, free: 227 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/5.069, allocations: 3.734 kB / 2.23 GB, free: 227 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004077/5.073, allocations: 1.032 MB / 2.231 GB, free: 226.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009935/5.083, allocations: 2.883 MB / 2.233 GB, free: 226.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.44e-05/5.083, allocations: 7.219 kB / 2.233 GB, free: 226.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/5.085, allocations: 173.4 kB / 2.234 GB, free: 226.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008626/5.086, allocations: 355.4 kB / 2.234 GB, free: 226.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.279e-05/5.086, allocations: 22.69 kB / 2.234 GB, free: 226.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001314/5.087, allocations: 0.9469 MB / 2.235 GB, free: 225.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/5.087, allocations: 6.141 kB / 2.235 GB, free: 225.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01275/5.1, allocations: 2.434 MB / 2.237 GB, free: 225.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001689/5.101, allocations: 395.7 kB / 2.238 GB, free: 225.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006448/5.102, allocations: 16.78 kB / 2.238 GB, free: 225.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002279/5.104, allocations: 155.3 kB / 2.238 GB, free: 225.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002323/5.105, allocations: 77.58 kB / 2.238 GB, free: 225.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/5.105, allocations: 48.97 kB / 2.238 GB, free: 225.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001621/5.106, allocations: 0.7818 MB / 2.239 GB, free: 224.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.91e-07/5.106, allocations: 0 / 2.239 GB, free: 224.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005548/5.112, allocations: 1.022 MB / 2.24 GB, free: 224.9 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.003011/5.115, allocations: 0.8998 MB / 2.241 GB, free: 224.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003732/5.119, allocations: 1.429 MB / 2.242 GB, free: 224.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.241e-05/5.119, allocations: 2.094 kB / 2.242 GB, free: 224.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009989/5.12, allocations: 480.6 kB / 2.242 GB, free: 224.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003798/5.124, allocations: 0.5987 MB / 2.243 GB, free: 224.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005346/5.129, allocations: 2.047 MB / 2.245 GB, free: 224 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008496/5.13, allocations: 1.306 MB / 2.246 GB, free: 223.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002645/5.133, allocations: 421.2 kB / 2.247 GB, free: 223.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002916/5.133, allocations: 107.6 kB / 2.247 GB, free: 223.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.022e-06/5.133, allocations: 0 / 2.247 GB, free: 223.3 MB / 1.151 GB Notification: Performance of Templates: time 0.06362/5.197, allocations: 35.79 MB / 2.282 GB, free: 222.6 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches