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/2, allocations: 387.4 MB / 394.9 MB, free: 13.31 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.001065/0.001065, allocations: 180.4 kB / 487.4 MB, free: 5.023 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.307/1.307, allocations: 221.5 MB / 0.7824 GB, free: 0.9609 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009715/0.0009715, allocations: 89.69 kB / 0.9219 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.603e-05/1.607e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2547, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.089/1.344, allocations: 440.7 MB / 1.636 GB, free: 13.99 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/1.344, allocations: 89.59 kB / 1.636 GB, free: 13.95 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 2.763/4.107, allocations: 0.7009 GB / 2.337 GB, free: 269.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.383e-06/4.107, allocations: 0 / 2.337 GB, free: 269.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003192/4.108, allocations: 38.38 kB / 2.337 GB, free: 269.3 MB / 1.151 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.005384/4.113, allocations: 1.726 MB / 2.339 GB, free: 268.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/4.113, allocations: 7.875 kB / 2.339 GB, free: 268.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002617/4.116, allocations: 436.6 kB / 2.339 GB, free: 268.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01915/4.135, allocations: 8.704 MB / 2.348 GB, free: 266.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.639e-05/4.135, allocations: 32.73 kB / 2.348 GB, free: 266.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003526/4.135, allocations: 49.78 kB / 2.348 GB, free: 266.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001725/4.137, allocations: 0.6383 MB / 2.349 GB, free: 266 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/4.139, allocations: 0.8596 MB / 2.35 GB, free: 265.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/4.139, allocations: 3.75 kB / 2.35 GB, free: 265.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/4.139, allocations: 8.938 kB / 2.35 GB, free: 265.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.072e-05/4.139, allocations: 32.53 kB / 2.35 GB, free: 265.5 MB / 1.151 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.007188/4.147, allocations: 4.607 MB / 2.354 GB, free: 262.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006907/4.147, allocations: 460.3 kB / 2.355 GB, free: 262.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003135/4.148, allocations: 243.6 kB / 2.355 GB, free: 262.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002445/4.15, allocations: 1.682 MB / 2.356 GB, free: 260.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004825/4.151, allocations: 368.1 kB / 2.357 GB, free: 260.5 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000626/4.151, allocations: 67.12 kB / 2.357 GB, free: 260.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=47): time 4.238e-06/4.151, allocations: 0 / 2.357 GB, free: 260.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=47): time 0.002033/4.153, allocations: 0.7214 MB / 2.358 GB, free: 260.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/4.153, allocations: 114.4 kB / 2.358 GB, free: 260.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/4.155, allocations: 0.9604 MB / 2.359 GB, free: 259.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.018e-05/4.155, allocations: 29.55 kB / 2.359 GB, free: 259.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006158/4.156, allocations: 0.6564 MB / 2.359 GB, free: 259.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000153/4.156, allocations: 155.4 kB / 2.359 GB, free: 259 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/4.156, allocations: 3.125 kB / 2.359 GB, free: 259 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.686e-05/4.156, allocations: 329.2 kB / 2.36 GB, free: 258.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000299/4.156, allocations: 214.7 kB / 2.36 GB, free: 258.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000418/4.157, allocations: 488.7 kB / 2.36 GB, free: 258.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009963/4.158, allocations: 347.1 kB / 2.361 GB, free: 258.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/4.158, allocations: 7.109 kB / 2.361 GB, free: 258.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001865/4.16, allocations: 0.8955 MB / 2.362 GB, free: 257.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005928/4.16, allocations: 2.78 MB / 2.364 GB, free: 254.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/4.16, allocations: 10.28 kB / 2.364 GB, free: 254.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002675/4.161, allocations: 72.53 kB / 2.364 GB, free: 254.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006412/4.161, allocations: 166.6 kB / 2.365 GB, free: 254.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005593/4.162, allocations: 1.141 MB / 2.366 GB, free: 253.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/4.163, allocations: 84.92 kB / 2.366 GB, free: 253.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.675e-05/4.163, allocations: 39.48 kB / 2.366 GB, free: 253.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/4.163, allocations: 5.25 kB / 2.366 GB, free: 253.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001531/4.165, allocations: 0.7341 MB / 2.366 GB, free: 253.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/4.165, allocations: 7.406 kB / 2.366 GB, free: 253.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001635/4.165, allocations: 75.09 kB / 2.367 GB, free: 253.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005434/4.165, allocations: 153 kB / 2.367 GB, free: 253.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005268/4.166, allocations: 1.143 MB / 2.368 GB, free: 252.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008886/4.167, allocations: 80.66 kB / 2.368 GB, free: 252.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.826e-05/4.167, allocations: 38.61 kB / 2.368 GB, free: 252.4 MB / 1.151 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 () * 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.0002426/4.167, allocations: 169.6 kB / 2.368 GB, free: 252.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/4.167, allocations: 124.9 kB / 2.368 GB, free: 252.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001844/4.169, allocations: 0.8729 MB / 2.369 GB, free: 251.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/4.169, allocations: 13.56 kB / 2.369 GB, free: 251.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/4.169, allocations: 0 / 2.369 GB, free: 251.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/4.169, allocations: 3.422 kB / 2.369 GB, free: 251.9 MB / 1.151 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 postOpt removeSimpleEquations (simulation): time 0.002896/4.172, allocations: 1.878 MB / 2.371 GB, free: 251 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/4.172, allocations: 2.344 kB / 2.371 GB, free: 251 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004836/4.173, allocations: 110.5 kB / 2.371 GB, free: 251 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001797/4.173, allocations: 69.34 kB / 2.371 GB, free: 250.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.05e-05/4.173, allocations: 15.67 kB / 2.371 GB, free: 250.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005359/4.173, allocations: 1.136 MB / 2.372 GB, free: 249.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/4.173, allocations: 3.969 kB / 2.372 GB, free: 249.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/4.175, allocations: 1.028 MB / 2.373 GB, free: 249.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000423/4.175, allocations: 293.6 kB / 2.374 GB, free: 249 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/4.175, allocations: 3.875 kB / 2.374 GB, free: 249 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007765/4.176, allocations: 83.06 kB / 2.374 GB, free: 249 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/4.176, allocations: 47.83 kB / 2.374 GB, free: 249 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.389e-05/4.176, allocations: 34.11 kB / 2.374 GB, free: 249 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009074/4.177, allocations: 0.7424 MB / 2.374 GB, free: 248.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.21e-07/4.177, allocations: 0 / 2.374 GB, free: 248.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002564/4.18, allocations: 0.7514 MB / 2.375 GB, free: 248.5 MB / 1.151 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) * 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.001709/4.181, allocations: 0.977 MB / 2.376 GB, free: 248.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001731/4.183, allocations: 1.096 MB / 2.377 GB, free: 247.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/4.183, allocations: 0 / 2.377 GB, free: 247.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004799/4.184, allocations: 374.1 kB / 2.378 GB, free: 247.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00224/4.186, allocations: 0.529 MB / 2.378 GB, free: 247.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002896/4.189, allocations: 1.614 MB / 2.38 GB, free: 246.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006196/4.19, allocations: 1.245 MB / 2.381 GB, free: 246 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001745/4.191, allocations: 411 kB / 2.381 GB, free: 245.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/4.191, allocations: 73.5 kB / 2.381 GB, free: 245.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.452e-06/4.191, allocations: 0 / 2.381 GB, free: 245.9 MB / 1.151 GB Notification: Performance of Templates: time 0.04363/4.235, allocations: 27.93 MB / 2.409 GB, free: 233.6 MB / 1.151 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