Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.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.HeatingSubstation,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.HeatingSubstation") translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,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.HeatingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.381/2.381, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001271/0.001271, allocations: 181 kB / 498.1 MB, free: 5.699 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.639/1.639, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.001047/0.001047, allocations: 99.27 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003911/0.0003912, allocations: 9.656 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3182, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.227/1.545, allocations: 441.4 MB / 1.654 GB, free: 3.691 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003228/1.546, allocations: 98.62 kB / 1.654 GB, free: 3.637 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.818/4.363, allocations: 0.7065 GB / 2.361 GB, free: 257 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.728e-06/4.363, allocations: 3.094 kB / 2.361 GB, free: 257 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000239/4.364, allocations: 43.92 kB / 2.361 GB, free: 257 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.006695/4.37, allocations: 2.137 MB / 2.363 GB, free: 256.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/4.37, allocations: 7.062 kB / 2.363 GB, free: 256.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002149/4.373, allocations: 437.9 kB / 2.363 GB, free: 256.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01838/4.391, allocations: 8.805 MB / 2.372 GB, free: 255.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.219e-05/4.391, allocations: 66.19 kB / 2.372 GB, free: 255.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/4.391, allocations: 89.78 kB / 2.372 GB, free: 255.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/4.393, allocations: 1.062 MB / 2.373 GB, free: 255.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/4.393, allocations: 3.75 kB / 2.373 GB, free: 255.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.296e-05/4.394, allocations: 37.66 kB / 2.373 GB, free: 255.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.754e-05/4.394, allocations: 27.44 kB / 2.373 GB, free: 255.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001848/4.395, allocations: 0.819 MB / 2.374 GB, free: 255.5 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.007095/4.403, allocations: 4.799 MB / 2.378 GB, free: 253.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/4.404, allocations: 0.5734 MB / 2.379 GB, free: 253.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002551/4.407, allocations: 1.689 MB / 2.381 GB, free: 252.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000939/4.407, allocations: 466.3 kB / 2.381 GB, free: 252.1 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004811/4.408, allocations: 86.31 kB / 2.381 GB, free: 252.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=47): time 4.067e-06/4.408, allocations: 0 / 2.381 GB, free: 252.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=47): time 0.003008/4.411, allocations: 1.364 MB / 2.383 GB, free: 251.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.015e-05/4.411, allocations: 122.4 kB / 2.383 GB, free: 251.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/4.413, allocations: 1.11 MB / 2.384 GB, free: 251.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.34e-05/4.413, allocations: 39.33 kB / 2.384 GB, free: 251.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005567/4.413, allocations: 0.6553 MB / 2.384 GB, free: 251.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/4.413, allocations: 155.2 kB / 2.385 GB, free: 251.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/4.413, allocations: 14.25 kB / 2.385 GB, free: 251.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.203e-05/4.414, allocations: 334 kB / 2.385 GB, free: 250.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006946/4.414, allocations: 290.8 kB / 2.385 GB, free: 250.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008481/4.415, allocations: 0.5633 MB / 2.386 GB, free: 250.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007701/4.416, allocations: 378.6 kB / 2.386 GB, free: 250.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/4.416, allocations: 0 / 2.386 GB, free: 250.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002132/4.418, allocations: 1.061 MB / 2.387 GB, free: 250.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007834/4.419, allocations: 2.781 MB / 2.39 GB, free: 247.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/4.419, allocations: 11.55 kB / 2.39 GB, free: 247.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004276/4.419, allocations: 88.73 kB / 2.39 GB, free: 247.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006621/4.42, allocations: 166.3 kB / 2.39 GB, free: 247.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005609/4.421, allocations: 1.125 MB / 2.391 GB, free: 246.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/4.422, allocations: 94.2 kB / 2.391 GB, free: 246.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.775e-05/4.422, allocations: 46.75 kB / 2.391 GB, free: 246.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/4.422, allocations: 2.938 kB / 2.391 GB, free: 246.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001863/4.424, allocations: 0.9193 MB / 2.392 GB, free: 246.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/4.424, allocations: 3.906 kB / 2.392 GB, free: 246.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002489/4.424, allocations: 88.97 kB / 2.392 GB, free: 246.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005675/4.424, allocations: 158.8 kB / 2.392 GB, free: 246.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004937/4.425, allocations: 1.125 MB / 2.394 GB, free: 245.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009398/4.426, allocations: 89 kB / 2.394 GB, free: 245.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.013e-05/4.426, allocations: 45.53 kB / 2.394 GB, free: 245.3 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,QHea.a,QHea.b,QHea.last,$PRE.QHea.nextEvent,QHea.nextEvent,QHea.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.001034/4.427, allocations: 493.2 kB / 2.394 GB, free: 245.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002175/4.427, allocations: 139.5 kB / 2.394 GB, free: 245 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002516/4.43, allocations: 1.06 MB / 2.395 GB, free: 244.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/4.43, allocations: 14.59 kB / 2.395 GB, free: 244.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/4.43, allocations: 0 / 2.395 GB, free: 244.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/4.43, allocations: 3.281 kB / 2.395 GB, free: 244.9 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.004335/4.434, allocations: 2.162 MB / 2.397 GB, free: 244.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/4.434, allocations: 1.875 kB / 2.397 GB, free: 244.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006316/4.435, allocations: 111.7 kB / 2.398 GB, free: 244.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003352/4.435, allocations: 76.09 kB / 2.398 GB, free: 244.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.431e-05/4.435, allocations: 23.17 kB / 2.398 GB, free: 244.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005868/4.436, allocations: 1.113 MB / 2.399 GB, free: 243.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/4.436, allocations: 1.625 kB / 2.399 GB, free: 243.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002269/4.438, allocations: 1.226 MB / 2.4 GB, free: 242.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000627/4.439, allocations: 307.3 kB / 2.4 GB, free: 242.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/4.439, allocations: 11.62 kB / 2.4 GB, free: 242.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008388/4.44, allocations: 93.02 kB / 2.4 GB, free: 242.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/4.44, allocations: 43.02 kB / 2.4 GB, free: 242.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.909e-05/4.44, allocations: 34.66 kB / 2.4 GB, free: 242.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001236/4.441, allocations: 0.871 MB / 2.401 GB, free: 242.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.31e-07/4.441, allocations: 0 / 2.401 GB, free: 242.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002697/4.444, allocations: 0.779 MB / 2.402 GB, free: 242.5 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,QHea.a,QHea.b,QHea.last,QHea.nextEvent,QHea.nextEventScaled) * Number of discrete states: 6 (QHea.nextEvent,QHea.last,QHea.nextEventScaled,QHea.b,QHea.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.001638/4.446, allocations: 1.016 MB / 2.403 GB, free: 242.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002684/4.448, allocations: 1.307 MB / 2.404 GB, free: 242.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/4.448, allocations: 0 / 2.404 GB, free: 242.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008165/4.449, allocations: 458.8 kB / 2.405 GB, free: 242 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002438/4.452, allocations: 0.6046 MB / 2.405 GB, free: 242 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003981/4.456, allocations: 2.684 MB / 2.408 GB, free: 240.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006456/4.456, allocations: 1.234 MB / 2.409 GB, free: 240.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001367/4.458, allocations: 301 kB / 2.409 GB, free: 240.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/4.458, allocations: 104.4 kB / 2.41 GB, free: 240.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.553e-06/4.458, allocations: 0 / 2.41 GB, free: 240.1 MB / 1.167 GB Notification: Performance of Templates: time 0.04607/4.504, allocations: 31.07 MB / 2.44 GB, free: 239.1 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.makefile (rm -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; mkfifo Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe >> ../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.sim & ./Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation.csv","../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches