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.56/2.56, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.001026/0.001026, allocations: 175.7 kB / 492.3 MB, free: 0.6172 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.525/1.525, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0009139/0.0009139, allocations: 95.89 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.023e-05/3.033e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3305, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.43/1.76, allocations: 441.4 MB / 1.643 GB, free: 5.324 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000332/1.761, allocations: 92.94 kB / 1.644 GB, free: 5.277 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 3.442/5.203, allocations: 0.7043 GB / 2.348 GB, free: 267 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.557e-06/5.203, allocations: 0 / 2.348 GB, free: 267 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001963/5.203, allocations: 42.17 kB / 2.348 GB, free: 267 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.00462/5.208, allocations: 1.713 MB / 2.35 GB, free: 265.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/5.208, allocations: 10.44 kB / 2.35 GB, free: 265.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002388/5.21, allocations: 438.9 kB / 2.35 GB, free: 265.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01938/5.229, allocations: 8.737 MB / 2.358 GB, free: 261.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.907e-05/5.23, allocations: 69.38 kB / 2.359 GB, free: 261.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001845/5.23, allocations: 91.34 kB / 2.359 GB, free: 261.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001879/5.232, allocations: 0.9789 MB / 2.36 GB, free: 261 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/5.232, allocations: 3.969 kB / 2.36 GB, free: 261 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.151e-05/5.232, allocations: 35.56 kB / 2.36 GB, free: 260.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.571e-05/5.232, allocations: 34.97 kB / 2.36 GB, free: 260.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/5.233, allocations: 0.6611 MB / 2.36 GB, free: 260.7 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.006958/5.24, allocations: 4.78 MB / 2.365 GB, free: 256.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007699/5.241, allocations: 448.9 kB / 2.365 GB, free: 256.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003322/5.241, allocations: 241.1 kB / 2.366 GB, free: 256.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002361/5.243, allocations: 1.711 MB / 2.367 GB, free: 254.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005316/5.244, allocations: 386 kB / 2.368 GB, free: 254.5 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004773/5.244, allocations: 83.09 kB / 2.368 GB, free: 254.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=47): time 2.585e-06/5.244, allocations: 0 / 2.368 GB, free: 254.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=47): time 0.001252/5.246, allocations: 0.691 MB / 2.368 GB, free: 254.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/5.246, allocations: 109.8 kB / 2.369 GB, free: 253.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/5.247, allocations: 1.096 MB / 2.37 GB, free: 253.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.804e-05/5.247, allocations: 44.75 kB / 2.37 GB, free: 253.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005551/5.248, allocations: 0.6486 MB / 2.37 GB, free: 252.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/5.248, allocations: 158.5 kB / 2.37 GB, free: 252.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/5.248, allocations: 18.22 kB / 2.37 GB, free: 252.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.51e-05/5.248, allocations: 329.8 kB / 2.371 GB, free: 252.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000315/5.249, allocations: 216.6 kB / 2.371 GB, free: 252.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004844/5.249, allocations: 493.8 kB / 2.371 GB, free: 251.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004096/5.25, allocations: 312.5 kB / 2.372 GB, free: 251.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/5.25, allocations: 0 / 2.372 GB, free: 251.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001403/5.251, allocations: 0.9041 MB / 2.373 GB, free: 251.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007494/5.252, allocations: 2.788 MB / 2.375 GB, free: 248.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/5.252, allocations: 7.312 kB / 2.375 GB, free: 248.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004034/5.252, allocations: 89.98 kB / 2.375 GB, free: 248.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006454/5.253, allocations: 169 kB / 2.376 GB, free: 248.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005605/5.253, allocations: 1.12 MB / 2.377 GB, free: 247.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/5.255, allocations: 98.23 kB / 2.377 GB, free: 247.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-05/5.255, allocations: 47.89 kB / 2.377 GB, free: 247.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/5.255, allocations: 3.844 kB / 2.377 GB, free: 247.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00124/5.256, allocations: 0.7657 MB / 2.378 GB, free: 246.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/5.256, allocations: 7.812 kB / 2.378 GB, free: 246.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002531/5.256, allocations: 86.98 kB / 2.378 GB, free: 246.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005505/5.257, allocations: 159.5 kB / 2.378 GB, free: 246.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005049/5.257, allocations: 1.124 MB / 2.379 GB, free: 245.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/5.258, allocations: 94.36 kB / 2.379 GB, free: 245.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.756e-05/5.258, allocations: 35.55 kB / 2.379 GB, free: 245.5 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.0002698/5.259, allocations: 182.5 kB / 2.379 GB, free: 245.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001921/5.259, allocations: 139.8 kB / 2.379 GB, free: 245.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001817/5.261, allocations: 0.912 MB / 2.38 GB, free: 244.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/5.261, allocations: 3.875 kB / 2.38 GB, free: 244.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/5.261, allocations: 3.156 kB / 2.38 GB, free: 244.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/5.261, allocations: 0 / 2.38 GB, free: 244.7 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.003118/5.264, allocations: 2.033 MB / 2.382 GB, free: 243.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.8e-06/5.264, allocations: 3.953 kB / 2.382 GB, free: 243.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004981/5.264, allocations: 111.3 kB / 2.382 GB, free: 243.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002978/5.265, allocations: 78.53 kB / 2.382 GB, free: 243.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.616e-05/5.265, allocations: 21.58 kB / 2.382 GB, free: 243.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004745/5.265, allocations: 1.114 MB / 2.384 GB, free: 242.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/5.265, allocations: 3.719 kB / 2.384 GB, free: 242.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/5.267, allocations: 1.064 MB / 2.385 GB, free: 241.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006431/5.267, allocations: 298.6 kB / 2.385 GB, free: 241.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/5.267, allocations: 18.11 kB / 2.385 GB, free: 241.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008183/5.268, allocations: 93.81 kB / 2.385 GB, free: 241.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/5.268, allocations: 39.64 kB / 2.385 GB, free: 241.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.46e-05/5.268, allocations: 32.69 kB / 2.385 GB, free: 241.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001274/5.27, allocations: 0.8606 MB / 2.386 GB, free: 240.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.8e-07/5.27, allocations: 0 / 2.386 GB, free: 240.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002847/5.273, allocations: 0.7792 MB / 2.387 GB, free: 240.4 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.002034/5.275, allocations: 1.026 MB / 2.388 GB, free: 240 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001965/5.277, allocations: 1.13 MB / 2.389 GB, free: 239.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/5.277, allocations: 0 / 2.389 GB, free: 239.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004856/5.277, allocations: 385 kB / 2.389 GB, free: 239.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00284/5.28, allocations: 0.608 MB / 2.39 GB, free: 239 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003222/5.283, allocations: 1.66 MB / 2.391 GB, free: 238.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006961/5.284, allocations: 1.236 MB / 2.393 GB, free: 237.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001972/5.286, allocations: 422.8 kB / 2.393 GB, free: 237 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/5.286, allocations: 84.45 kB / 2.393 GB, free: 237 MB / 1.151 GB Notification: Performance of SimCode: time 1.323e-06/5.286, allocations: 0 / 2.393 GB, free: 237 MB / 1.151 GB Notification: Performance of Templates: time 0.05968/5.346, allocations: 35.08 MB / 2.427 GB, free: 210.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