Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.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.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|subSta.Q_flow|subSta.m_flow|subSta.sta_a.T|subSta.sta_b.T",fileNamePrefix="Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|subSta.Q_flow|subSta.m_flow|subSta.sta_a.T|subSta.sta_b.T",fileNamePrefix="Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.44/2.44, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001167/0.001167, allocations: 193 kB / 498.1 MB, free: 5.727 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.661/1.661, allocations: 223.2 MB / 0.7948 GB, free: 17.9 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.001061/0.001061, allocations: 102.4 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004696/0.0004696, allocations: 10.16 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3286, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.225/1.554, allocations: 441.4 MB / 1.654 GB, free: 3.68 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003155/1.554, allocations: 103.1 kB / 1.654 GB, free: 3.621 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.945/4.499, allocations: 0.7065 GB / 2.361 GB, free: 256.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.375e-06/4.499, allocations: 0 / 2.361 GB, free: 256.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001732/4.499, allocations: 40.58 kB / 2.361 GB, free: 256.8 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.00465/4.504, allocations: 2.138 MB / 2.363 GB, free: 256.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/4.504, allocations: 10.41 kB / 2.363 GB, free: 256.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001977/4.506, allocations: 442.8 kB / 2.363 GB, free: 256.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01802/4.524, allocations: 8.798 MB / 2.372 GB, free: 255.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.459e-05/4.524, allocations: 67.75 kB / 2.372 GB, free: 255.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/4.524, allocations: 88.05 kB / 2.372 GB, free: 255.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/4.526, allocations: 1.059 MB / 2.373 GB, free: 255.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/4.526, allocations: 0 / 2.373 GB, free: 255.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.083e-05/4.526, allocations: 41.09 kB / 2.373 GB, free: 255.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.985e-05/4.526, allocations: 30.62 kB / 2.373 GB, free: 255.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001739/4.528, allocations: 0.8191 MB / 2.374 GB, free: 255.3 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.006375/4.535, allocations: 4.793 MB / 2.378 GB, free: 253.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/4.536, allocations: 0.57 MB / 2.379 GB, free: 253.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002269/4.538, allocations: 1.69 MB / 2.381 GB, free: 252 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008978/4.539, allocations: 466.9 kB / 2.381 GB, free: 251.9 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003945/4.54, allocations: 85 kB / 2.381 GB, free: 251.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=47): time 2.094e-06/4.54, allocations: 3.125 kB / 2.381 GB, free: 251.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=47): time 0.002956/4.543, allocations: 1.373 MB / 2.383 GB, free: 251.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/4.543, allocations: 113.4 kB / 2.383 GB, free: 251.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/4.544, allocations: 1.114 MB / 2.384 GB, free: 251.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.173e-05/4.544, allocations: 43.58 kB / 2.384 GB, free: 251.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004919/4.545, allocations: 0.652 MB / 2.384 GB, free: 251 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/4.545, allocations: 157.9 kB / 2.385 GB, free: 250.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/4.545, allocations: 10.94 kB / 2.385 GB, free: 250.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.722e-05/4.545, allocations: 334.5 kB / 2.385 GB, free: 250.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006788/4.545, allocations: 292.2 kB / 2.385 GB, free: 250.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008218/4.546, allocations: 0.5631 MB / 2.386 GB, free: 250.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007427/4.547, allocations: 377.1 kB / 2.386 GB, free: 250.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/4.547, allocations: 2.906 kB / 2.386 GB, free: 250.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002046/4.549, allocations: 1.054 MB / 2.387 GB, free: 250.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000532/4.55, allocations: 2.788 MB / 2.39 GB, free: 247.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/4.55, allocations: 10.91 kB / 2.39 GB, free: 247.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003721/4.55, allocations: 85.98 kB / 2.39 GB, free: 247.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006579/4.551, allocations: 168.4 kB / 2.39 GB, free: 247.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004971/4.551, allocations: 1.123 MB / 2.391 GB, free: 246.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/4.552, allocations: 92.94 kB / 2.391 GB, free: 246.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-05/4.552, allocations: 50.44 kB / 2.391 GB, free: 246.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.198e-06/4.552, allocations: 6.844 kB / 2.391 GB, free: 246.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001792/4.554, allocations: 0.9078 MB / 2.392 GB, free: 246.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/4.554, allocations: 7.688 kB / 2.392 GB, free: 246.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002458/4.555, allocations: 85.92 kB / 2.392 GB, free: 246.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005675/4.555, allocations: 154.2 kB / 2.392 GB, free: 246.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004348/4.556, allocations: 1.137 MB / 2.394 GB, free: 245.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009347/4.556, allocations: 86.42 kB / 2.394 GB, free: 245.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.095e-05/4.557, allocations: 44.23 kB / 2.394 GB, free: 245.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,$PRE.QCoo.nextEvent,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 66 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0008673/4.557, allocations: 0.4941 MB / 2.394 GB, free: 244.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/4.558, allocations: 138.5 kB / 2.394 GB, free: 244.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002279/4.56, allocations: 1.05 MB / 2.395 GB, free: 244.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/4.56, allocations: 11.23 kB / 2.395 GB, free: 244.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/4.56, allocations: 0 / 2.395 GB, free: 244.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/4.56, allocations: 7.75 kB / 2.395 GB, free: 244.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 postOpt removeSimpleEquations (simulation): time 0.003744/4.564, allocations: 2.171 MB / 2.397 GB, free: 244.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/4.564, allocations: 1.219 kB / 2.397 GB, free: 244.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000558/4.564, allocations: 112.3 kB / 2.398 GB, free: 244.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002843/4.565, allocations: 80.48 kB / 2.398 GB, free: 244.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.816e-05/4.565, allocations: 20.39 kB / 2.398 GB, free: 244.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004597/4.565, allocations: 1.113 MB / 2.399 GB, free: 243.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/4.565, allocations: 3.375 kB / 2.399 GB, free: 243.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002066/4.567, allocations: 1.224 MB / 2.4 GB, free: 242.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005897/4.568, allocations: 298.8 kB / 2.4 GB, free: 242.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/4.568, allocations: 15.06 kB / 2.4 GB, free: 242.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009148/4.569, allocations: 92.45 kB / 2.4 GB, free: 242.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/4.569, allocations: 40.31 kB / 2.4 GB, free: 242.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/4.569, allocations: 37.27 kB / 2.4 GB, free: 242.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001759/4.571, allocations: 0.8722 MB / 2.401 GB, free: 242.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.41e-07/4.571, allocations: 3.438 kB / 2.401 GB, free: 242.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003325/4.574, allocations: 0.7792 MB / 2.402 GB, free: 242.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 6 (QCoo.nextEvent,QCoo.last,QCoo.nextEventScaled,QCoo.b,QCoo.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001989/4.576, allocations: 1.021 MB / 2.403 GB, free: 242.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002654/4.579, allocations: 1.308 MB / 2.404 GB, free: 241.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/4.579, allocations: 0 / 2.404 GB, free: 241.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008072/4.58, allocations: 460.5 kB / 2.405 GB, free: 241.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003337/4.583, allocations: 0.6068 MB / 2.405 GB, free: 241.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005018/4.588, allocations: 2.688 MB / 2.408 GB, free: 240.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000742/4.589, allocations: 1.228 MB / 2.409 GB, free: 239.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001777/4.591, allocations: 295 kB / 2.409 GB, free: 239.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002142/4.591, allocations: 104.5 kB / 2.41 GB, free: 239.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.132e-06/4.591, allocations: 2.781 kB / 2.41 GB, free: 239.9 MB / 1.167 GB Notification: Performance of Templates: time 0.04681/4.638, allocations: 31.07 MB / 2.44 GB, free: 239 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.makefile (rm -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; mkfifo Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe >> ../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.sim & ./Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation.csv","../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches