Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.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_ClosedLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|pum.m_flow|ECoo.y|EHea.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|pum.m_flow|ECoo.y|EHea.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.247/2.247, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001402/0.001402, allocations: 169.1 kB / 498.1 MB, free: 5.781 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.533/1.533, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.0009592/0.0009591, allocations: 94.86 kB / 0.9346 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004064/0.0004065, allocations: 6.969 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3449, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.345/1.69, allocations: 448.7 MB / 1.661 GB, free: 12.02 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/1.691, allocations: 97.42 kB / 1.661 GB, free: 11.96 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.708/5.398, allocations: 1.003 GB / 2.664 GB, free: 111 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.679e-06/5.399, allocations: 0 / 2.664 GB, free: 111 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005184/5.399, allocations: 51.92 kB / 2.664 GB, free: 110.9 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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.01114/5.41, allocations: 2.593 MB / 2.667 GB, free: 108.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.908e-05/5.41, allocations: 11.97 kB / 2.667 GB, free: 108.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005583/5.416, allocations: 0.8168 MB / 2.668 GB, free: 107.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02788/5.444, allocations: 9.171 MB / 2.677 GB, free: 98.14 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001922/5.444, allocations: 94.31 kB / 2.677 GB, free: 98.05 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007273/5.445, allocations: 128 kB / 2.677 GB, free: 97.93 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004658/5.45, allocations: 1.543 MB / 2.678 GB, free: 96.26 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.776e-05/5.45, allocations: 3.938 kB / 2.678 GB, free: 96.26 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002878/5.45, allocations: 52 kB / 2.679 GB, free: 96.21 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.68e-05/5.45, allocations: 50.12 kB / 2.679 GB, free: 96.16 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003481/5.453, allocations: 1.261 MB / 2.68 GB, free: 94.89 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.01332/5.467, allocations: 8.42 MB / 2.688 GB, free: 85.83 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004165/5.471, allocations: 1.195 MB / 2.689 GB, free: 84.62 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00618/5.477, allocations: 2.993 MB / 2.692 GB, free: 81.36 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001295/5.479, allocations: 0.5417 MB / 2.693 GB, free: 80.81 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00138/5.48, allocations: 191 kB / 2.693 GB, free: 80.62 MB / 1.167 GB Notification: Performance of pre-optimization done (n=67): time 9.087e-06/5.48, allocations: 0 / 2.693 GB, free: 80.62 MB / 1.167 GB Notification: Performance of matching and sorting (n=67): time 0.003978/5.484, allocations: 1.367 MB / 2.694 GB, free: 79.25 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/5.484, allocations: 59.97 kB / 2.694 GB, free: 79.18 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003243/5.487, allocations: 1.339 MB / 2.696 GB, free: 77.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000129/5.488, allocations: 41.7 kB / 2.696 GB, free: 77.75 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009865/5.489, allocations: 0.8844 MB / 2.696 GB, free: 76.86 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002762/5.489, allocations: 244.6 kB / 2.697 GB, free: 76.61 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.014e-05/5.489, allocations: 20 kB / 2.697 GB, free: 76.59 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001456/5.489, allocations: 345.9 kB / 2.697 GB, free: 76.25 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/5.49, allocations: 438.3 kB / 2.697 GB, free: 75.82 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/5.492, allocations: 0.88 MB / 2.698 GB, free: 74.73 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/5.493, allocations: 0.5421 MB / 2.699 GB, free: 74.19 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.571e-05/5.493, allocations: 4 kB / 2.699 GB, free: 74.18 MB / 1.167 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.003415/5.496, allocations: 1.457 MB / 2.7 GB, free: 72.71 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001252/5.498, allocations: 5.095 MB / 2.705 GB, free: 67.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.796e-05/5.498, allocations: 12 kB / 2.705 GB, free: 67.19 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.6e-05/5.498, allocations: 20 kB / 2.705 GB, free: 67.17 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/5.499, allocations: 307.5 kB / 2.706 GB, free: 66.87 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.063e-05/5.499, allocations: 35.91 kB / 2.706 GB, free: 66.83 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002062/5.501, allocations: 155.7 kB / 2.706 GB, free: 66.68 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001597/5.501, allocations: 71.91 kB / 2.706 GB, free: 66.61 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/5.501, allocations: 5.094 kB / 2.706 GB, free: 66.61 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002848/5.504, allocations: 1.278 MB / 2.707 GB, free: 65.32 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/5.504, allocations: 12 kB / 2.707 GB, free: 65.31 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/5.504, allocations: 20 kB / 2.707 GB, free: 65.29 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/5.505, allocations: 303.6 kB / 2.707 GB, free: 64.99 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.571e-05/5.505, allocations: 27.92 kB / 2.707 GB, free: 64.96 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/5.507, allocations: 157.9 kB / 2.708 GB, free: 64.81 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/5.508, allocations: 59.97 kB / 2.708 GB, free: 64.75 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,EHea.local_reset,ECoo.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 128 * Array equations: 1 * Algorithm blocks: 1 * 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.001277/5.509, allocations: 0.4953 MB / 2.708 GB, free: 64.25 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000508/5.509, allocations: 177.8 kB / 2.708 GB, free: 64.07 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003511/5.513, allocations: 1.309 MB / 2.71 GB, free: 62.76 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.157e-05/5.513, allocations: 8 kB / 2.71 GB, free: 62.75 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/5.513, allocations: 0 / 2.71 GB, free: 62.75 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00224/5.515, allocations: 1.199 MB / 2.711 GB, free: 61.48 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 postOpt removeSimpleEquations (simulation): time 0.00661/5.522, allocations: 2.745 MB / 2.713 GB, free: 58.65 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/5.522, allocations: 0 / 2.713 GB, free: 58.65 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009433/5.523, allocations: 186.8 kB / 2.714 GB, free: 58.47 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-05/5.523, allocations: 4 kB / 2.714 GB, free: 58.46 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-05/5.523, allocations: 27.97 kB / 2.714 GB, free: 58.44 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.855e-06/5.523, allocations: 7.953 kB / 2.714 GB, free: 58.43 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/5.523, allocations: 4 kB / 2.714 GB, free: 58.43 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003899/5.527, allocations: 1.867 MB / 2.715 GB, free: 56.51 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/5.528, allocations: 354.6 kB / 2.716 GB, free: 56.14 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005252/5.529, allocations: 23.98 kB / 2.716 GB, free: 56.12 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001648/5.53, allocations: 135.8 kB / 2.716 GB, free: 55.99 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/5.53, allocations: 60.5 kB / 2.716 GB, free: 55.93 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.94e-05/5.53, allocations: 35.97 kB / 2.716 GB, free: 55.89 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002221/5.533, allocations: 1.023 MB / 2.717 GB, free: 54.85 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.92e-07/5.533, allocations: 0 / 2.717 GB, free: 54.85 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005577/5.538, allocations: 1.033 MB / 2.718 GB, free: 53.81 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (pla.coo.outCon.T,pla.hea.outCon.T,vol.dynBal.U,pum.filter.s[1],pum.filter.s[2],ECoo.y,EHea.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * 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.002995/5.541, allocations: 1.151 MB / 2.719 GB, free: 52.69 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004521/5.546, allocations: 1.876 MB / 2.721 GB, free: 50.79 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/5.546, allocations: 7.875 kB / 2.721 GB, free: 50.79 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001207/5.547, allocations: 0.5278 MB / 2.722 GB, free: 50.26 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004018/5.551, allocations: 0.7378 MB / 2.722 GB, free: 49.52 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009597/5.561, allocations: 4.138 MB / 2.726 GB, free: 45.36 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001754/5.563, allocations: 1.396 MB / 2.728 GB, free: 43.93 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003116/5.566, allocations: 469.9 kB / 2.728 GB, free: 43.47 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006952/5.566, allocations: 155.4 kB / 2.728 GB, free: 43.32 MB / 1.167 GB Notification: Performance of SimCode: time 1.413e-06/5.566, allocations: 0 / 2.728 GB, free: 43.32 MB / 1.167 GB Notification: Performance of Templates: time 0.06593/5.632, allocations: 37.06 MB / 2.764 GB, free: 6.711 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.makefile (rm -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; mkfifo Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe >> ../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.sim & ./Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop.csv","../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches