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.189/2.189, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001056/0.001056, allocations: 192.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 221.3 MB / 0.7915 GB, free: 5.434 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.0009891/0.0009889, allocations: 99.89 kB / 0.9318 GB, free: 5.738 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.691e-05/3.694e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3299, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.523/1.853, allocations: 436.3 MB / 1.645 GB, free: 14.19 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/1.853, allocations: 87.95 kB / 1.645 GB, free: 14.11 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 2.909/4.762, allocations: 0.563 GB / 2.208 GB, free: 238.5 MB / 1.135 GB Notification: Performance of FrontEnd: time 3.226e-06/4.762, allocations: 0 / 2.208 GB, free: 238.5 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0004096/4.763, allocations: 50.55 kB / 2.208 GB, free: 238.5 MB / 1.135 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.006762/4.769, allocations: 1.981 MB / 2.21 GB, free: 237.7 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/4.769, allocations: 7.625 kB / 2.21 GB, free: 237.7 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005321/4.775, allocations: 0.6858 MB / 2.211 GB, free: 237.6 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005191/4.78, allocations: 1.867 MB / 2.212 GB, free: 237.2 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002243/4.78, allocations: 141.9 kB / 2.213 GB, free: 237.2 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005495/4.781, allocations: 133 kB / 2.213 GB, free: 237.2 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004082/4.785, allocations: 1.643 MB / 2.214 GB, free: 236.9 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.597e-05/4.785, allocations: 0 / 2.214 GB, free: 236.9 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002639/4.785, allocations: 61.61 kB / 2.214 GB, free: 236.9 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.126e-05/4.785, allocations: 57.19 kB / 2.214 GB, free: 236.9 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002608/4.788, allocations: 1.236 MB / 2.216 GB, free: 236.9 MB / 1.135 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.01157/4.8, allocations: 7.386 MB / 2.223 GB, free: 233.9 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/4.801, allocations: 0.6971 MB / 2.224 GB, free: 233.9 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000554/4.801, allocations: 396.2 kB / 2.224 GB, free: 233.9 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001183/4.802, allocations: 1.274 MB / 2.225 GB, free: 232.5 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/4.803, allocations: 47.75 kB / 2.225 GB, free: 232.4 MB / 1.135 GB Notification: Performance of pre-optimization done (n=77): time 3.066e-06/4.803, allocations: 0 / 2.225 GB, free: 232.4 MB / 1.135 GB Notification: Performance of matching and sorting (n=77): time 0.00359/4.806, allocations: 1.02 MB / 2.226 GB, free: 232.3 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.558e-05/4.806, allocations: 190.2 kB / 2.226 GB, free: 232.1 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002115/4.808, allocations: 1.29 MB / 2.228 GB, free: 231.9 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.0001933/4.809, allocations: 48.7 kB / 2.228 GB, free: 231.9 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007627/4.809, allocations: 0.7679 MB / 2.228 GB, free: 231.6 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.000305/4.81, allocations: 269.5 kB / 2.229 GB, free: 231.5 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.055e-05/4.81, allocations: 19.06 kB / 2.229 GB, free: 231.5 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 9.337e-05/4.81, allocations: 346.5 kB / 2.229 GB, free: 231.1 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006901/4.81, allocations: 368.5 kB / 2.229 GB, free: 231.1 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008468/4.811, allocations: 0.6641 MB / 2.23 GB, free: 230.8 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007397/4.812, allocations: 428.1 kB / 2.23 GB, free: 230.8 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/4.812, allocations: 3.906 kB / 2.23 GB, free: 230.8 MB / 1.135 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003884/4.816, allocations: 1.326 MB / 2.232 GB, free: 230.7 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005913/4.817, allocations: 2.506 MB / 2.234 GB, free: 228 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/4.817, allocations: 9.906 kB / 2.234 GB, free: 228 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001343/4.818, allocations: 422.4 kB / 2.235 GB, free: 228 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/4.819, allocations: 272.7 kB / 2.235 GB, free: 228 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009683/4.82, allocations: 0.903 MB / 2.236 GB, free: 227.5 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002916/4.823, allocations: 300.5 kB / 2.236 GB, free: 227.4 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/4.823, allocations: 59.25 kB / 2.236 GB, free: 227.4 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/4.823, allocations: 3.938 kB / 2.236 GB, free: 227.4 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003543/4.827, allocations: 1.159 MB / 2.237 GB, free: 227.4 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/4.827, allocations: 3.375 kB / 2.237 GB, free: 227.4 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/4.828, allocations: 418.9 kB / 2.238 GB, free: 227.4 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/4.83, allocations: 265.7 kB / 2.238 GB, free: 227.4 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008992/4.831, allocations: 0.9105 MB / 2.239 GB, free: 226.8 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002579/4.833, allocations: 264.5 kB / 2.239 GB, free: 226.8 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/4.833, allocations: 68.86 kB / 2.239 GB, free: 226.8 MB / 1.135 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.0004228/4.834, allocations: 164.1 kB / 2.239 GB, free: 226.7 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005815/4.834, allocations: 170.4 kB / 2.239 GB, free: 226.6 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003746/4.838, allocations: 1.106 MB / 2.24 GB, free: 226.5 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/4.838, allocations: 7.906 kB / 2.24 GB, free: 226.5 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/4.838, allocations: 3.062 kB / 2.24 GB, free: 226.5 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002854/4.841, allocations: 0.9653 MB / 2.241 GB, free: 226.3 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007785/4.849, allocations: 3.006 MB / 2.244 GB, free: 225.8 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/4.849, allocations: 7.094 kB / 2.244 GB, free: 225.8 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009818/4.85, allocations: 173.3 kB / 2.245 GB, free: 225.8 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001218/4.851, allocations: 412.4 kB / 2.245 GB, free: 225.8 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.311e-05/4.851, allocations: 31.89 kB / 2.245 GB, free: 225.8 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008716/4.852, allocations: 0.8931 MB / 2.246 GB, free: 225.3 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/4.852, allocations: 6.562 kB / 2.246 GB, free: 225.3 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009872/4.862, allocations: 2.431 MB / 2.248 GB, free: 224.6 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001317/4.863, allocations: 429.8 kB / 2.249 GB, free: 224.4 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006418/4.864, allocations: 24.23 kB / 2.249 GB, free: 224.4 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002086/4.866, allocations: 170.8 kB / 2.249 GB, free: 224.4 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/4.866, allocations: 77.97 kB / 2.249 GB, free: 224.4 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/4.866, allocations: 52.14 kB / 2.249 GB, free: 224.4 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.001577/4.868, allocations: 1.013 MB / 2.25 GB, free: 224.3 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.6e-07/4.868, allocations: 0 / 2.25 GB, free: 224.3 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.003409/4.871, allocations: 1.035 MB / 2.251 GB, free: 224.1 MB / 1.135 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.001827/4.873, allocations: 0.9238 MB / 2.252 GB, free: 223.9 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0028/4.876, allocations: 1.517 MB / 2.253 GB, free: 223.8 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/4.876, allocations: 6.875 kB / 2.253 GB, free: 223.8 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0008063/4.877, allocations: 487.6 kB / 2.254 GB, free: 223.8 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003628/4.881, allocations: 0.7947 MB / 2.255 GB, free: 223.8 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004363/4.885, allocations: 2.137 MB / 2.257 GB, free: 223.2 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006649/4.886, allocations: 1.302 MB / 2.258 GB, free: 222.4 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.002347/4.888, allocations: 488.5 kB / 2.258 GB, free: 222.4 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002891/4.888, allocations: 116.6 kB / 2.258 GB, free: 222.4 MB / 1.135 GB Notification: Performance of SimCode: time 1.062e-06/4.888, allocations: 0 / 2.258 GB, free: 222.4 MB / 1.135 GB Notification: Performance of Templates: time 0.06872/4.957, allocations: 44.74 MB / 2.302 GB, free: 220.6 MB / 1.135 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