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.354/2.354, allocations: 393.5 MB / 408.4 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.001431/0.00143, allocations: 183.6 kB / 0.4902 GB, free: 2.188 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.734/1.734, allocations: 223.1 MB / 0.7992 GB, free: 14.62 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.0009593/0.0009594, allocations: 89.95 kB / 0.9396 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004123/0.0004125, allocations: 8.125 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3301, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.178/1.508, allocations: 436.4 MB / 1.655 GB, free: 9.188 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003297/1.508, allocations: 96.38 kB / 1.655 GB, free: 9.137 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 1.748/3.256, allocations: 0.5647 GB / 2.22 GB, free: 102.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.304e-06/3.256, allocations: 0 / 2.22 GB, free: 102.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002446/3.257, allocations: 47.98 kB / 2.22 GB, free: 102.6 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.006338/3.263, allocations: 2.273 MB / 2.222 GB, free: 100.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/3.263, allocations: 8.828 kB / 2.222 GB, free: 100.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005351/3.268, allocations: 0.6884 MB / 2.223 GB, free: 99.53 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004356/3.273, allocations: 1.877 MB / 2.225 GB, free: 97.59 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001649/3.273, allocations: 148.2 kB / 2.225 GB, free: 97.44 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004104/3.273, allocations: 132 kB / 2.225 GB, free: 97.31 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004509/3.278, allocations: 1.81 MB / 2.227 GB, free: 95.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.119e-05/3.278, allocations: 3.938 kB / 2.227 GB, free: 95.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002005/3.278, allocations: 56 kB / 2.227 GB, free: 95.34 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.549e-05/3.278, allocations: 58.5 kB / 2.227 GB, free: 95.29 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004894/3.283, allocations: 1.579 MB / 2.229 GB, free: 93.7 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.01246/3.296, allocations: 7.387 MB / 2.236 GB, free: 85.99 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002284/3.298, allocations: 0.8262 MB / 2.237 GB, free: 85.15 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/3.299, allocations: 1.274 MB / 2.238 GB, free: 83.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/3.299, allocations: 47.22 kB / 2.238 GB, free: 83.55 MB / 1.167 GB Notification: Performance of pre-optimization done (n=77): time 3.306e-06/3.299, allocations: 0 / 2.238 GB, free: 83.55 MB / 1.167 GB Notification: Performance of matching and sorting (n=77): time 0.02596/3.325, allocations: 3.676 MB / 2.242 GB, free: 79.84 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/3.325, allocations: 188.6 kB / 2.242 GB, free: 79.61 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002597/3.328, allocations: 1.332 MB / 2.243 GB, free: 78.27 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002302/3.328, allocations: 57.64 kB / 2.243 GB, free: 78.21 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000707/3.329, allocations: 0.7548 MB / 2.244 GB, free: 77.45 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002873/3.329, allocations: 272.2 kB / 2.244 GB, free: 77.18 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.511e-05/3.329, allocations: 16 kB / 2.244 GB, free: 77.16 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.704e-05/3.329, allocations: 349.9 kB / 2.244 GB, free: 76.81 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00198/3.331, allocations: 0.5289 MB / 2.245 GB, free: 76.29 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002103/3.333, allocations: 0.8375 MB / 2.246 GB, free: 75.32 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001938/3.335, allocations: 0.569 MB / 2.246 GB, free: 74.75 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/3.335, allocations: 4 kB / 2.246 GB, free: 74.75 MB / 1.167 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.006724/3.342, allocations: 1.691 MB / 2.248 GB, free: 73.05 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005452/3.343, allocations: 2.511 MB / 2.25 GB, free: 70.29 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/3.343, allocations: 8 kB / 2.25 GB, free: 70.29 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001661/3.344, allocations: 494.2 kB / 2.251 GB, free: 69.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/3.346, allocations: 271.5 kB / 2.251 GB, free: 69.54 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/3.347, allocations: 0.9979 MB / 2.252 GB, free: 68.52 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002855/3.35, allocations: 294.6 kB / 2.252 GB, free: 68.23 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/3.35, allocations: 59.94 kB / 2.252 GB, free: 68.17 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/3.35, allocations: 7.953 kB / 2.252 GB, free: 68.16 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006306/3.357, allocations: 1.531 MB / 2.254 GB, free: 66.63 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/3.357, allocations: 7.984 kB / 2.254 GB, free: 66.62 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001489/3.358, allocations: 484.6 kB / 2.254 GB, free: 66.14 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/3.36, allocations: 267.6 kB / 2.255 GB, free: 65.88 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/3.361, allocations: 1.003 MB / 2.256 GB, free: 64.86 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002724/3.364, allocations: 270.7 kB / 2.256 GB, free: 64.59 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001924/3.364, allocations: 59.94 kB / 2.256 GB, free: 64.53 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.001289/3.365, allocations: 480.8 kB / 2.256 GB, free: 64.05 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005537/3.366, allocations: 158.1 kB / 2.257 GB, free: 63.89 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006065/3.372, allocations: 1.404 MB / 2.258 GB, free: 62.47 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/3.372, allocations: 8 kB / 2.258 GB, free: 62.46 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/3.372, allocations: 0 / 2.258 GB, free: 62.46 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005337/3.377, allocations: 1.281 MB / 2.259 GB, free: 61.15 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009716/3.387, allocations: 3.305 MB / 2.262 GB, free: 57.73 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/3.387, allocations: 4 kB / 2.262 GB, free: 57.73 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/3.388, allocations: 175.8 kB / 2.263 GB, free: 57.56 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001473/3.39, allocations: 484.3 kB / 2.263 GB, free: 57.09 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.999e-05/3.39, allocations: 31.95 kB / 2.263 GB, free: 57.05 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001324/3.391, allocations: 0.9864 MB / 2.264 GB, free: 56.04 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/3.391, allocations: 15.86 kB / 2.264 GB, free: 56.03 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01325/3.404, allocations: 2.867 MB / 2.267 GB, free: 52.96 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/3.406, allocations: 426.7 kB / 2.267 GB, free: 52.53 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005311/3.406, allocations: 24 kB / 2.267 GB, free: 52.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002271/3.408, allocations: 175.7 kB / 2.268 GB, free: 52.33 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/3.409, allocations: 80.38 kB / 2.268 GB, free: 52.25 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/3.409, allocations: 47.91 kB / 2.268 GB, free: 52.21 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002087/3.411, allocations: 1.058 MB / 2.269 GB, free: 51.15 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.41e-07/3.411, allocations: 0 / 2.269 GB, free: 51.15 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003813/3.415, allocations: 1.033 MB / 2.27 GB, free: 50.12 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.00211/3.417, allocations: 0.9127 MB / 2.271 GB, free: 49.21 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006396/3.423, allocations: 1.925 MB / 2.272 GB, free: 47.28 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/3.423, allocations: 0 / 2.272 GB, free: 47.28 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001914/3.425, allocations: 0.6278 MB / 2.273 GB, free: 46.66 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003921/3.429, allocations: 0.7971 MB / 2.274 GB, free: 45.88 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007542/3.437, allocations: 3.424 MB / 2.277 GB, free: 42.37 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/3.438, allocations: 1.301 MB / 2.278 GB, free: 41.04 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00232/3.44, allocations: 388.5 kB / 2.279 GB, free: 40.66 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005142/3.441, allocations: 147.3 kB / 2.279 GB, free: 40.52 MB / 1.167 GB Notification: Performance of SimCode: time 1.103e-06/3.441, allocations: 0 / 2.279 GB, free: 40.52 MB / 1.167 GB Notification: Performance of Templates: time 0.6578/4.098, allocations: 41.47 MB / 2.319 GB, free: 249.9 MB / 1.167 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