Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.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.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pla.m_flow|pla.m_flow_nominal|pla.sta_a.T|pla.sta_b.T|Q_flow_nominal|pla.QHea_flow|pla.QCoo_flow|pla.dp|pla.dp_nominal",fileNamePrefix="Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pla.m_flow|pla.m_flow_nominal|pla.sta_a.T|pla.sta_b.T|Q_flow_nominal|pla.QHea_flow|pla.QCoo_flow|pla.dp|pla.dp_nominal",fileNamePrefix="Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.37/2.37, allocations: 390.3 MB / 405.3 MB, free: 13.41 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.001041/0.001041, allocations: 177 kB / 498.1 MB, free: 5.684 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.606/1.606, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.001028/0.001028, allocations: 96.08 kB / 0.9346 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004139/0.0004141, allocations: 6.938 kB / 1.084 GB, free: 221.7 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3538, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.287/1.641, allocations: 401.4 MB / 1.615 GB, free: 10.46 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003575/1.641, allocations: 95.44 kB / 1.615 GB, free: 10.41 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2/3.641, allocations: 0.5784 GB / 2.193 GB, free: 139 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.575e-06/3.641, allocations: 0 / 2.193 GB, free: 139 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.612e-05/3.641, allocations: 31.98 kB / 2.193 GB, free: 139 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: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.003011/3.644, allocations: 1.356 MB / 2.195 GB, free: 137.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/3.644, allocations: 8.031 kB / 2.195 GB, free: 137.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002587/3.647, allocations: 494.2 kB / 2.195 GB, free: 137.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01431/3.661, allocations: 7.295 MB / 2.202 GB, free: 129.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/3.661, allocations: 41.31 kB / 2.202 GB, free: 129.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/3.661, allocations: 60 kB / 2.202 GB, free: 129.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/3.663, allocations: 0.866 MB / 2.203 GB, free: 128.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/3.663, allocations: 7.938 kB / 2.203 GB, free: 128.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.339e-05/3.663, allocations: 20 kB / 2.203 GB, free: 128.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.244e-05/3.663, allocations: 33.25 kB / 2.203 GB, free: 128.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002007/3.665, allocations: 0.8443 MB / 2.204 GB, free: 127.8 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.005619/3.671, allocations: 4.613 MB / 2.209 GB, free: 122.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003436/3.674, allocations: 0.9471 MB / 2.21 GB, free: 121.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000706/3.675, allocations: 0.9337 MB / 2.211 GB, free: 120.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/3.675, allocations: 46.5 kB / 2.211 GB, free: 120.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=35): time 3.236e-06/3.675, allocations: 3.938 kB / 2.211 GB, free: 120.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=35): time 0.003086/3.678, allocations: 1.118 MB / 2.212 GB, free: 119.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/3.678, allocations: 55.41 kB / 2.212 GB, free: 119.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008095/3.679, allocations: 0.6177 MB / 2.212 GB, free: 118.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.642e-05/3.679, allocations: 33.7 kB / 2.212 GB, free: 118.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/3.679, allocations: 447.9 kB / 2.213 GB, free: 118.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.927e-05/3.68, allocations: 118.3 kB / 2.213 GB, free: 118.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/3.68, allocations: 8 kB / 2.213 GB, free: 118.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.57e-05/3.68, allocations: 326 kB / 2.213 GB, free: 117.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008674/3.681, allocations: 352.9 kB / 2.214 GB, free: 117.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009412/3.681, allocations: 0.527 MB / 2.214 GB, free: 116.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008677/3.682, allocations: 368.9 kB / 2.214 GB, free: 116.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/3.682, allocations: 0 / 2.214 GB, free: 116.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002109/3.684, allocations: 0.9209 MB / 2.215 GB, free: 115.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000334/3.685, allocations: 1.66 MB / 2.217 GB, free: 113.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/3.685, allocations: 4 kB / 2.217 GB, free: 113.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.822e-05/3.685, allocations: 8 kB / 2.217 GB, free: 113.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007914/3.686, allocations: 191.7 kB / 2.217 GB, free: 113.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/3.686, allocations: 4 kB / 2.217 GB, free: 113.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/3.687, allocations: 171.3 kB / 2.217 GB, free: 113.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-05/3.687, allocations: 27.98 kB / 2.217 GB, free: 113.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/3.687, allocations: 4 kB / 2.217 GB, free: 113.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00197/3.689, allocations: 0.8114 MB / 2.218 GB, free: 112.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/3.689, allocations: 4 kB / 2.218 GB, free: 112.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/3.689, allocations: 8 kB / 2.218 GB, free: 112.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007477/3.69, allocations: 188.3 kB / 2.218 GB, free: 112.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.515e-06/3.69, allocations: 11.94 kB / 2.218 GB, free: 112.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/3.691, allocations: 163.4 kB / 2.219 GB, free: 112.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.526e-05/3.691, allocations: 23.98 kB / 2.219 GB, free: 112.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 55 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005299/3.691, allocations: 309.8 kB / 2.219 GB, free: 111.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/3.691, allocations: 87.02 kB / 2.219 GB, free: 111.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002321/3.694, allocations: 1.002 MB / 2.22 GB, free: 110.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/3.694, allocations: 8 kB / 2.22 GB, free: 110.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/3.694, allocations: 0 / 2.22 GB, free: 110.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/3.694, allocations: 7.984 kB / 2.22 GB, free: 110.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003509/3.697, allocations: 1.887 MB / 2.222 GB, free: 108.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/3.697, allocations: 3.984 kB / 2.222 GB, free: 108.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007075/3.698, allocations: 147.9 kB / 2.222 GB, free: 108.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/3.698, allocations: 0 / 2.222 GB, free: 108.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.664e-05/3.698, allocations: 19.98 kB / 2.222 GB, free: 108.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/3.698, allocations: 3.984 kB / 2.222 GB, free: 108.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/3.698, allocations: 0 / 2.222 GB, free: 108.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002998/3.701, allocations: 1.513 MB / 2.223 GB, free: 107.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004271/3.702, allocations: 231.8 kB / 2.224 GB, free: 106.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.7e-05/3.702, allocations: 8 kB / 2.224 GB, free: 106.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000766/3.703, allocations: 131.9 kB / 2.224 GB, free: 106.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.763e-05/3.703, allocations: 31.95 kB / 2.224 GB, free: 106.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.471e-05/3.703, allocations: 11.98 kB / 2.224 GB, free: 106.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006451/3.703, allocations: 0.4912 MB / 2.224 GB, free: 106.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.2e-07/3.703, allocations: 0 / 2.224 GB, free: 106.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001518/3.705, allocations: 455.3 kB / 2.225 GB, free: 105.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (pla.coo.outCon.T,pla.hea.outCon.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009226/3.706, allocations: 0.5121 MB / 2.225 GB, free: 105.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003019/3.709, allocations: 1.271 MB / 2.226 GB, free: 104 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/3.709, allocations: 0 / 2.226 GB, free: 104 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009453/3.71, allocations: 443.8 kB / 2.227 GB, free: 103.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/3.711, allocations: 330.6 kB / 2.227 GB, free: 103.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00624/3.718, allocations: 2.364 MB / 2.229 GB, free: 100.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003851/3.718, allocations: 0.9828 MB / 2.23 GB, free: 99.83 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001121/3.719, allocations: 206.4 kB / 2.231 GB, free: 99.62 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/3.719, allocations: 71.41 kB / 2.231 GB, free: 99.55 MB / 1.167 GB Notification: Performance of SimCode: time 2.345e-06/3.719, allocations: 0 / 2.231 GB, free: 99.55 MB / 1.167 GB Notification: Performance of Templates: time 0.02844/3.748, allocations: 16.66 MB / 2.247 GB, free: 83.11 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.makefile (rm -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; mkfifo Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe >> ../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.sim & ./Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T.csv","../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches