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.18/2.18, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.001045/0.001046, allocations: 172.9 kB / 492.3 MB, free: 0.6289 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.737/1.737, 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.000898/0.0008981, allocations: 89.8 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.1e-05/4.103e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3378, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.439/1.777, allocations: 441.4 MB / 1.643 GB, free: 5.27 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003923/1.778, allocations: 94.88 kB / 1.644 GB, free: 5.219 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 3.358/5.136, allocations: 0.7043 GB / 2.348 GB, free: 267 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.275e-06/5.136, allocations: 2.156 kB / 2.348 GB, free: 267 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001833/5.136, allocations: 39.19 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.003722/5.14, allocations: 1.718 MB / 2.35 GB, free: 265.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/5.14, allocations: 12.62 kB / 2.35 GB, free: 265.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002046/5.142, allocations: 432.8 kB / 2.35 GB, free: 265.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02044/5.162, allocations: 8.738 MB / 2.359 GB, free: 261.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/5.162, allocations: 71.47 kB / 2.359 GB, free: 261.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002547/5.163, allocations: 89.31 kB / 2.359 GB, free: 261.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002419/5.165, allocations: 0.9802 MB / 2.36 GB, free: 261 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.853e-05/5.165, allocations: 0 / 2.36 GB, free: 261 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-05/5.165, allocations: 34.47 kB / 2.36 GB, free: 260.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-05/5.165, allocations: 35.7 kB / 2.36 GB, free: 260.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/5.167, allocations: 0.6631 MB / 2.36 GB, free: 260.6 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.008243/5.175, allocations: 4.776 MB / 2.365 GB, free: 256.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008897/5.176, allocations: 452 kB / 2.365 GB, free: 256.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003789/5.176, allocations: 243.7 kB / 2.366 GB, free: 256.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002759/5.179, allocations: 1.704 MB / 2.367 GB, free: 254.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005847/5.179, allocations: 392 kB / 2.368 GB, free: 254.4 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004682/5.18, allocations: 81.88 kB / 2.368 GB, free: 254.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=47): time 4.108e-06/5.18, allocations: 0 / 2.368 GB, free: 254.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=47): time 0.001396/5.181, allocations: 0.69 MB / 2.368 GB, free: 254 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/5.181, allocations: 112.7 kB / 2.369 GB, free: 253.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00158/5.183, allocations: 1.109 MB / 2.37 GB, free: 253.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.349e-05/5.183, allocations: 41.08 kB / 2.37 GB, free: 253.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005212/5.184, allocations: 0.6393 MB / 2.37 GB, free: 252.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/5.184, allocations: 163.7 kB / 2.37 GB, free: 252.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/5.184, allocations: 11.53 kB / 2.37 GB, free: 252.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.751e-05/5.184, allocations: 336.5 kB / 2.371 GB, free: 252.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003192/5.184, allocations: 216.9 kB / 2.371 GB, free: 252.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004988/5.185, allocations: 0.4962 MB / 2.371 GB, free: 251.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004033/5.185, allocations: 302.9 kB / 2.372 GB, free: 251.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/5.185, allocations: 3.156 kB / 2.372 GB, free: 251.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001358/5.187, allocations: 0.9039 MB / 2.373 GB, free: 251.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007805/5.187, allocations: 2.784 MB / 2.375 GB, free: 248.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/5.187, allocations: 13.95 kB / 2.375 GB, free: 248.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004259/5.188, allocations: 91.41 kB / 2.375 GB, free: 248.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006453/5.188, allocations: 167.5 kB / 2.376 GB, free: 248.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006015/5.189, allocations: 1.122 MB / 2.377 GB, free: 247.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/5.19, allocations: 96.91 kB / 2.377 GB, free: 247.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-05/5.19, allocations: 43.3 kB / 2.377 GB, free: 247 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/5.19, allocations: 3.969 kB / 2.377 GB, free: 247 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001206/5.191, allocations: 0.7606 MB / 2.378 GB, free: 246.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/5.191, allocations: 11.08 kB / 2.378 GB, free: 246.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002369/5.192, allocations: 84.06 kB / 2.378 GB, free: 246.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005436/5.192, allocations: 160.2 kB / 2.378 GB, free: 246.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005177/5.193, allocations: 1.125 MB / 2.379 GB, free: 245.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009099/5.194, allocations: 87.11 kB / 2.379 GB, free: 245.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.542e-05/5.194, allocations: 44.33 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,QCoo.a,QCoo.b,QCoo.last,$PRE.QCoo.nextEvent,QCoo.nextEvent,QCoo.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.000254/5.194, allocations: 188.1 kB / 2.379 GB, free: 245.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/5.194, allocations: 139.8 kB / 2.379 GB, free: 245.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001744/5.196, allocations: 0.9116 MB / 2.38 GB, free: 244.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/5.196, allocations: 7.75 kB / 2.38 GB, free: 244.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/5.196, allocations: 0 / 2.38 GB, free: 244.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/5.196, allocations: 3.984 kB / 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.002952/5.199, allocations: 2.033 MB / 2.382 GB, free: 243.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/5.199, allocations: 3.781 kB / 2.382 GB, free: 243.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004894/5.2, allocations: 111.3 kB / 2.382 GB, free: 243.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002637/5.2, allocations: 77.03 kB / 2.382 GB, free: 243.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.46e-05/5.2, allocations: 22.52 kB / 2.382 GB, free: 243.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004643/5.2, allocations: 1.12 MB / 2.384 GB, free: 242.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/5.2, allocations: 3.969 kB / 2.384 GB, free: 242.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/5.202, allocations: 1.065 MB / 2.385 GB, free: 241.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004851/5.202, allocations: 298.7 kB / 2.385 GB, free: 241.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/5.202, allocations: 15.84 kB / 2.385 GB, free: 241.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008154/5.203, allocations: 92.31 kB / 2.385 GB, free: 241.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.895e-05/5.203, allocations: 33.08 kB / 2.385 GB, free: 241.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.731e-05/5.203, allocations: 33.38 kB / 2.385 GB, free: 241.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001123/5.204, allocations: 0.8619 MB / 2.386 GB, free: 240.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/5.204, allocations: 0 / 2.386 GB, free: 240.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002869/5.207, allocations: 0.7709 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,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) * 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.002542/5.21, allocations: 1.03 MB / 2.388 GB, free: 240 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002285/5.212, allocations: 1.136 MB / 2.389 GB, free: 239.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/5.212, allocations: 2.156 kB / 2.389 GB, free: 239.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006147/5.213, allocations: 381.4 kB / 2.389 GB, free: 239.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002976/5.216, allocations: 0.6113 MB / 2.39 GB, free: 239 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00353/5.219, allocations: 1.651 MB / 2.391 GB, free: 238.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007518/5.22, allocations: 1.238 MB / 2.393 GB, free: 237.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002033/5.222, allocations: 422.4 kB / 2.393 GB, free: 237 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/5.222, allocations: 81.48 kB / 2.393 GB, free: 237 MB / 1.151 GB Notification: Performance of SimCode: time 1.623e-06/5.222, allocations: 0 / 2.393 GB, free: 237 MB / 1.151 GB Notification: Performance of Templates: time 0.05442/5.277, allocations: 35.08 MB / 2.427 GB, free: 210.5 MB / 1.151 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