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.33/2.33, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001138/0.001138, allocations: 182.1 kB / 498.1 MB, free: 5.738 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.551/1.551, allocations: 223.2 MB / 0.7948 GB, free: 18.82 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.0009983/0.0009982, allocations: 96.28 kB / 0.9346 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003539/0.000354, allocations: 10.47 kB / 1.084 GB, free: 213 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2625, allocations: 142.3 MB / 1.223 GB, free: 89.6 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.094/1.357, allocations: 435.6 MB / 1.648 GB, free: 13.51 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/1.357, allocations: 98.89 kB / 1.648 GB, free: 13.46 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 1.753/3.111, allocations: 0.5647 GB / 2.213 GB, free: 96.88 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.443e-06/3.111, allocations: 4 kB / 2.213 GB, free: 96.88 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000162/3.111, allocations: 43.98 kB / 2.213 GB, free: 96.84 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.005315/3.116, allocations: 2.268 MB / 2.215 GB, free: 94.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/3.116, allocations: 8.031 kB / 2.215 GB, free: 94.49 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005198/3.121, allocations: 0.6883 MB / 2.216 GB, free: 93.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004478/3.126, allocations: 1.877 MB / 2.218 GB, free: 91.87 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001606/3.126, allocations: 144.3 kB / 2.218 GB, free: 91.72 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002441/3.126, allocations: 131.9 kB / 2.218 GB, free: 91.59 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004157/3.131, allocations: 1.822 MB / 2.22 GB, free: 89.67 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.719e-05/3.131, allocations: 0 / 2.22 GB, free: 89.67 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/3.131, allocations: 63.98 kB / 2.22 GB, free: 89.61 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-05/3.131, allocations: 58.45 kB / 2.22 GB, free: 89.55 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004781/3.136, allocations: 1.579 MB / 2.222 GB, free: 87.96 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.0108/3.146, allocations: 7.375 MB / 2.229 GB, free: 80.26 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002163/3.149, allocations: 0.8311 MB / 2.23 GB, free: 79.42 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00115/3.15, allocations: 1.271 MB / 2.231 GB, free: 77.88 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/3.15, allocations: 47.22 kB / 2.231 GB, free: 77.82 MB / 1.167 GB Notification: Performance of pre-optimization done (n=77): time 3.636e-06/3.15, allocations: 0 / 2.231 GB, free: 77.82 MB / 1.167 GB Notification: Performance of matching and sorting (n=77): time 0.02567/3.176, allocations: 3.671 MB / 2.234 GB, free: 74.12 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.686e-05/3.176, allocations: 196.6 kB / 2.235 GB, free: 73.88 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002306/3.178, allocations: 1.321 MB / 2.236 GB, free: 72.55 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002532/3.178, allocations: 57.69 kB / 2.236 GB, free: 72.49 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006058/3.179, allocations: 0.7549 MB / 2.237 GB, free: 71.73 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002535/3.179, allocations: 272.1 kB / 2.237 GB, free: 71.46 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.6e-05/3.179, allocations: 20 kB / 2.237 GB, free: 71.44 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.716e-05/3.179, allocations: 349.9 kB / 2.237 GB, free: 71.09 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001893/3.181, allocations: 0.525 MB / 2.238 GB, free: 70.57 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002084/3.183, allocations: 0.8335 MB / 2.239 GB, free: 69.61 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/3.185, allocations: 0.5769 MB / 2.239 GB, free: 69.03 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/3.185, allocations: 0 / 2.239 GB, free: 69.03 MB / 1.167 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.006753/3.192, allocations: 1.703 MB / 2.241 GB, free: 67.32 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000465/3.192, allocations: 2.507 MB / 2.243 GB, free: 64.57 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/3.193, allocations: 13.14 kB / 2.243 GB, free: 64.56 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001644/3.194, allocations: 487.8 kB / 2.244 GB, free: 64.08 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/3.196, allocations: 275.5 kB / 2.244 GB, free: 63.81 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001553/3.197, allocations: 0.9993 MB / 2.245 GB, free: 62.79 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003296/3.201, allocations: 298.6 kB / 2.245 GB, free: 62.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001681/3.201, allocations: 59.89 kB / 2.245 GB, free: 62.44 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/3.201, allocations: 4 kB / 2.245 GB, free: 62.43 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006105/3.207, allocations: 1.531 MB / 2.247 GB, free: 60.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/3.207, allocations: 4 kB / 2.247 GB, free: 60.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001481/3.209, allocations: 484.8 kB / 2.247 GB, free: 60.42 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/3.21, allocations: 271.5 kB / 2.248 GB, free: 60.16 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/3.212, allocations: 1.002 MB / 2.249 GB, free: 59.13 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002762/3.214, allocations: 266.8 kB / 2.249 GB, free: 58.87 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001547/3.214, allocations: 55.95 kB / 2.249 GB, free: 58.81 MB / 1.167 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 () * Number of clocked 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.001209/3.216, allocations: 487.6 kB / 2.249 GB, free: 58.33 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004375/3.216, allocations: 154.1 kB / 2.249 GB, free: 58.18 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005728/3.222, allocations: 1.416 MB / 2.251 GB, free: 56.74 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/3.222, allocations: 8 kB / 2.251 GB, free: 56.73 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/3.222, allocations: 4 kB / 2.251 GB, free: 56.73 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004962/3.227, allocations: 1.27 MB / 2.252 GB, free: 55.43 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009355/3.236, allocations: 3.32 MB / 2.255 GB, free: 52 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/3.236, allocations: 4 kB / 2.255 GB, free: 52 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/3.237, allocations: 179.7 kB / 2.256 GB, free: 51.82 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001495/3.239, allocations: 473.6 kB / 2.256 GB, free: 51.36 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-05/3.239, allocations: 35.95 kB / 2.256 GB, free: 51.32 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/3.24, allocations: 0.9807 MB / 2.257 GB, free: 50.32 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/3.24, allocations: 4 kB / 2.257 GB, free: 50.32 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0133/3.254, allocations: 2.879 MB / 2.26 GB, free: 47.23 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001281/3.255, allocations: 422.6 kB / 2.26 GB, free: 46.79 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003125/3.255, allocations: 32.05 kB / 2.26 GB, free: 46.76 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001892/3.257, allocations: 163.8 kB / 2.26 GB, free: 46.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/3.257, allocations: 84.33 kB / 2.26 GB, free: 46.52 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.877e-05/3.257, allocations: 51.89 kB / 2.261 GB, free: 46.47 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001652/3.259, allocations: 1.054 MB / 2.262 GB, free: 45.42 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.91e-07/3.259, allocations: 0 / 2.262 GB, free: 45.42 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003704/3.263, allocations: 1.045 MB / 2.263 GB, free: 44.37 MB / 1.167 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) * Number of clocked states: 0 () * 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.001934/3.265, allocations: 0.8966 MB / 2.263 GB, free: 43.49 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006464/3.271, allocations: 1.929 MB / 2.265 GB, free: 41.56 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.329e-05/3.271, allocations: 0 / 2.265 GB, free: 41.56 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001919/3.273, allocations: 0.62 MB / 2.266 GB, free: 40.95 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003824/3.277, allocations: 0.796 MB / 2.267 GB, free: 40.16 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006429/3.284, allocations: 3.439 MB / 2.27 GB, free: 36.64 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006234/3.284, allocations: 1.301 MB / 2.271 GB, free: 35.31 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002258/3.286, allocations: 384.8 kB / 2.272 GB, free: 34.93 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003622/3.287, allocations: 143.3 kB / 2.272 GB, free: 34.79 MB / 1.167 GB Notification: Performance of SimCode: time 1.012e-06/3.287, allocations: 0 / 2.272 GB, free: 34.79 MB / 1.167 GB Notification: Performance of Templates: time 0.6582/3.945, allocations: 41.46 MB / 2.312 GB, free: 249.8 MB / 1.167 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