Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller.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.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTHeaWatSup.T|senTHeaWatRet.T|TChiWatSupSet.y|senTChiWatSup.T|senTChiWatRet.T|chi.PChi|chi.PPum|chi.valCon.y_actual|chi.valEva.y_actual|chi.uHea|chi.uCoo",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller") translateModel(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTHeaWatSup.T|senTHeaWatRet.T|TChiWatSupSet.y|senTChiWatSup.T|senTChiWatRet.T|chi.PChi|chi.PPum|chi.valCon.y_actual|chi.valEva.y_actual|chi.uHea|chi.uCoo",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.563/2.563, allocations: 390.3 MB / 405.3 MB, free: 13.44 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.001578/0.001577, allocations: 184.3 kB / 498.1 MB, free: 5.695 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.794/1.794, 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.001085/0.001085, allocations: 113.2 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004173/0.0004175, allocations: 10.27 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.336, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.375/1.711, allocations: 477.3 MB / 1.689 GB, free: 2.656 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/1.711, allocations: 116.7 kB / 1.689 GB, free: 2.586 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 11.29/13, allocations: 2.6 GB / 4.289 GB, free: 94.97 MB / 1.26 GB Notification: Performance of FrontEnd: time 3.958e-06/13, allocations: 0 / 4.289 GB, free: 94.97 MB / 1.26 GB Notification: Performance of Transformations before backend: time 0.00237/13, allocations: 172.1 kB / 4.289 GB, free: 94.94 MB / 1.26 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 946 * Number of variables: 946 Notification: Performance of Generate backend data structure: time 0.03863/13.04, allocations: 7.354 MB / 4.296 GB, free: 91.89 MB / 1.26 GB Notification: Performance of prepare preOptimizeDAE: time 5.853e-05/13.04, allocations: 7.781 kB / 4.296 GB, free: 91.89 MB / 1.26 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01115/13.05, allocations: 1.52 MB / 4.298 GB, free: 91.51 MB / 1.26 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04627/13.1, allocations: 14.72 MB / 4.312 GB, free: 90.23 MB / 1.26 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001164/13.1, allocations: 383.1 kB / 4.313 GB, free: 90.16 MB / 1.26 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003399/13.1, allocations: 405.8 kB / 4.313 GB, free: 90.16 MB / 1.26 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02536/13.13, allocations: 4.579 MB / 4.317 GB, free: 89.68 MB / 1.26 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003988/13.13, allocations: 7.125 kB / 4.317 GB, free: 89.68 MB / 1.26 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002234/13.13, allocations: 158 kB / 4.318 GB, free: 89.68 MB / 1.26 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001911/13.13, allocations: 101.7 kB / 4.318 GB, free: 89.68 MB / 1.26 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.015/13.14, allocations: 3.921 MB / 4.322 GB, free: 89.64 MB / 1.26 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.05653/13.2, allocations: 24.04 MB / 4.345 GB, free: 78.44 MB / 1.26 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007039/13.21, allocations: 2.743 MB / 4.348 GB, free: 78.19 MB / 1.26 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 evalFunc (simulation): time 0.0221/13.23, allocations: 8.3 MB / 4.356 GB, free: 74.27 MB / 1.26 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004864/13.23, allocations: 1.716 MB / 4.357 GB, free: 74.13 MB / 1.26 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006069/13.24, allocations: 0.6811 MB / 4.358 GB, free: 74 MB / 1.26 GB Notification: Performance of pre-optimization done (n=220): time 5.415e-05/13.24, allocations: 2.219 kB / 4.358 GB, free: 74 MB / 1.26 GB Notification: Performance of matching and sorting (n=220): time 0.01651/13.26, allocations: 4.913 MB / 4.363 GB, free: 73.16 MB / 1.26 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/13.26, allocations: 184.4 kB / 4.363 GB, free: 72.97 MB / 1.26 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01828/13.28, allocations: 4.566 MB / 4.368 GB, free: 72.6 MB / 1.26 GB Notification: Performance of collectPreVariables (initialization): time 0.001433/13.28, allocations: 83.7 kB / 4.368 GB, free: 72.57 MB / 1.26 GB Notification: Performance of collectInitialEqns (initialization): time 0.006444/13.28, allocations: 2.801 MB / 4.37 GB, free: 71.83 MB / 1.26 GB Notification: Performance of collectInitialBindings (initialization): time 0.002034/13.29, allocations: 0.7394 MB / 4.371 GB, free: 71.36 MB / 1.26 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009525/13.29, allocations: 56 kB / 4.371 GB, free: 71.36 MB / 1.26 GB Notification: Performance of setup shared object (initialization): time 0.0006064/13.29, allocations: 416.5 kB / 4.372 GB, free: 71.05 MB / 1.26 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004805/13.29, allocations: 1.315 MB / 4.373 GB, free: 71.05 MB / 1.26 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006165/13.3, allocations: 2.367 MB / 4.375 GB, free: 69.86 MB / 1.26 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005569/13.3, allocations: 1.593 MB / 4.377 GB, free: 69.75 MB / 1.26 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.397e-05/13.3, allocations: 13.7 kB / 4.377 GB, free: 69.74 MB / 1.26 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.01787/13.32, allocations: 4.285 MB / 4.381 GB, free: 69.26 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 0.005514/13.33, allocations: 10.85 MB / 4.392 GB, free: 57.93 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001154/13.33, allocations: 25.28 kB / 4.392 GB, free: 57.93 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007051/13.33, allocations: 130.8 kB / 4.392 GB, free: 57.91 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004451/13.33, allocations: 0.709 MB / 4.392 GB, free: 57.91 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/13.33, allocations: 1.227 MB / 4.394 GB, free: 56.87 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008588/13.34, allocations: 465.2 kB / 4.394 GB, free: 56.84 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001257/13.34, allocations: 168 kB / 4.394 GB, free: 56.84 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/13.34, allocations: 3.469 kB / 4.394 GB, free: 56.84 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01175/13.36, allocations: 3.683 MB / 4.398 GB, free: 56.68 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001184/13.36, allocations: 24.41 kB / 4.398 GB, free: 56.68 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003859/13.36, allocations: 125.2 kB / 4.398 GB, free: 56.66 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003516/13.36, allocations: 0.6801 MB / 4.399 GB, free: 56.66 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003243/13.36, allocations: 3.188 MB / 4.402 GB, free: 54 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00774/13.37, allocations: 442.2 kB / 4.402 GB, free: 53.97 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001044/13.37, allocations: 160.1 kB / 4.402 GB, free: 53.97 MB / 1.26 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition3,$whenCondition1,$whenCondition2,chi.uHea,chi.uCoo,chi.booToRea.u,THeaWatRet.a,THeaWatRet.b,THeaWatRet.last,$PRE.THeaWatRet.nextEvent,THeaWatRet.nextEvent,THeaWatRet.nextEventScaled,TChiWatRet.a,TChiWatRet.b,TChiWatRet.last,$PRE.TChiWatRet.nextEvent,TChiWatRet.nextEvent,TChiWatRet.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (345): * Single equations (assignments): 339 * Array equations: 2 * Algorithm blocks: 2 * 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 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.006086/13.38, allocations: 1.407 MB / 4.404 GB, free: 53.7 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002747/13.38, allocations: 0.5544 MB / 4.404 GB, free: 53.4 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01395/13.39, allocations: 4.215 MB / 4.408 GB, free: 53.1 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-05/13.39, allocations: 26.97 kB / 4.408 GB, free: 53.1 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.499e-05/13.39, allocations: 6.5 kB / 4.408 GB, free: 53.1 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008558/13.4, allocations: 3.145 MB / 4.411 GB, free: 52.86 MB / 1.26 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.03304/13.44, allocations: 9.248 MB / 4.42 GB, free: 51.71 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/13.44, allocations: 0 / 4.42 GB, free: 51.71 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002456/13.44, allocations: 0.4937 MB / 4.421 GB, free: 51.71 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000289/13.44, allocations: 107.7 kB / 4.421 GB, free: 51.69 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002463/13.44, allocations: 74.31 kB / 4.421 GB, free: 51.69 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006908/13.44, allocations: 1.179 MB / 4.422 GB, free: 50.65 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.391e-06/13.44, allocations: 6.188 kB / 4.422 GB, free: 50.65 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01273/13.45, allocations: 5.852 MB / 4.428 GB, free: 49.71 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005717/13.46, allocations: 1.338 MB / 4.429 GB, free: 49.01 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0029/13.46, allocations: 54.12 kB / 4.429 GB, free: 49.01 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006455/13.47, allocations: 396.4 kB / 4.43 GB, free: 48.96 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006098/13.47, allocations: 144.7 kB / 4.43 GB, free: 48.96 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007284/13.47, allocations: 121.8 kB / 4.43 GB, free: 48.96 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.01167/13.48, allocations: 3.504 MB / 4.433 GB, free: 48.75 MB / 1.26 GB Notification: Performance of sort global known variables: time 6.61e-07/13.48, allocations: 0 / 4.433 GB, free: 48.75 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.02017/13.5, allocations: 3.106 MB / 4.436 GB, free: 48.33 MB / 1.26 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (chi.chi.vol1.dynBal.U,chi.chi.vol2.dynBal.U,chi.con.conValEva.conPID.I.y,chi.con.conValCon.conPID.I.y,chi.senTConLvg.T,chi.senTConEnt.T,chi.senTEvaEnt.T,chi.senTEvaLvg.T,chi.valEva.vol.dynBal.U,chi.valCon.vol.dynBal.U,senTHeaWatSup.T,senTChiWatSup.T,senTHeaWatRet.T,senTChiWatRet.T) * Number of discrete variables: 16 (chi.booToRea.u,$whenCondition3,$whenCondition1,$whenCondition2,chi.uHea,chi.uCoo,THeaWatRet.a,THeaWatRet.b,THeaWatRet.last,THeaWatRet.nextEvent,THeaWatRet.nextEventScaled,TChiWatRet.a,TChiWatRet.b,TChiWatRet.last,TChiWatRet.nextEvent,TChiWatRet.nextEventScaled) * Number of discrete states: 12 (THeaWatRet.nextEvent,THeaWatRet.last,THeaWatRet.nextEventScaled,THeaWatRet.b,THeaWatRet.a,$whenCondition2,TChiWatRet.nextEvent,TChiWatRet.last,TChiWatRet.nextEventScaled,TChiWatRet.b,TChiWatRet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (230): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 18 * 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 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.007986/13.51, allocations: 3.487 MB / 4.44 GB, free: 46.86 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.01521/13.52, allocations: 5.634 MB / 4.445 GB, free: 46.25 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 1.69e-05/13.52, allocations: 6.422 kB / 4.445 GB, free: 46.25 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.004415/13.53, allocations: 1.736 MB / 4.447 GB, free: 46.08 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01592/13.55, allocations: 2.628 MB / 4.45 GB, free: 45.96 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04543/13.59, allocations: 14 MB / 4.463 GB, free: 40.25 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006545/13.6, allocations: 3.094 MB / 4.466 GB, free: 39.39 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.00868/13.61, allocations: 1.226 MB / 4.467 GB, free: 39.17 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0021/13.61, allocations: 435.8 kB / 4.468 GB, free: 39.16 MB / 1.26 GB Notification: Performance of SimCode: time 1.653e-06/13.61, allocations: 0 / 4.468 GB, free: 39.16 MB / 1.26 GB Notification: Performance of Templates: time 0.2105/13.82, allocations: 122.8 MB / 4.588 GB, free: 7.883 MB / 1.276 GB make -j1 -f Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller.makefile (rm -f Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller.sim & ./Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Experimental_DHC_EnergyTransferStations_Combined_Subsystems_Validation_Chiller.csv","../files/Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches