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.208/2.208, allocations: 387.1 MB / 399.7 MB, free: 9.512 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.001387/0.001387, allocations: 184.6 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.634/1.634, 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.001016/0.001016, allocations: 100.5 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.066e-05/3.097e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2819, allocations: 142.3 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.245/1.527, allocations: 477.3 MB / 1.678 GB, free: 1.941 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003261/1.528, allocations: 113.8 kB / 1.679 GB, free: 1.875 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 10.37/11.89, allocations: 2.592 GB / 4.271 GB, free: 94.21 MB / 1.245 GB Notification: Performance of FrontEnd: time 2.254e-06/11.89, allocations: 0 / 4.271 GB, free: 94.21 MB / 1.245 GB Notification: Performance of Transformations before backend: time 0.001356/11.89, allocations: 181.8 kB / 4.271 GB, free: 94.18 MB / 1.245 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.02047/11.92, allocations: 5.745 MB / 4.277 GB, free: 91.41 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/11.92, allocations: 7.031 kB / 4.277 GB, free: 91.41 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/11.93, allocations: 1.513 MB / 4.278 GB, free: 91.04 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03728/11.96, allocations: 14.6 MB / 4.292 GB, free: 89.75 MB / 1.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005478/11.96, allocations: 388.5 kB / 4.293 GB, free: 89.68 MB / 1.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001431/11.97, allocations: 410.8 kB / 4.293 GB, free: 89.68 MB / 1.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008951/11.97, allocations: 4.292 MB / 4.297 GB, free: 89.2 MB / 1.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.407e-05/11.97, allocations: 9.438 kB / 4.297 GB, free: 89.2 MB / 1.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004784/11.97, allocations: 159.1 kB / 4.297 GB, free: 89.2 MB / 1.245 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001046/11.97, allocations: 98.61 kB / 4.298 GB, free: 89.2 MB / 1.245 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006672/11.98, allocations: 3.425 MB / 4.301 GB, free: 89.16 MB / 1.245 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.04076/12.02, allocations: 24.04 MB / 4.324 GB, free: 77.66 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003801/12.03, allocations: 2.389 MB / 4.327 GB, free: 77.41 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002104/12.03, allocations: 1.386 MB / 4.328 GB, free: 77.38 MB / 1.245 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 evalFunc (simulation): time 0.01658/12.04, allocations: 8.356 MB / 4.336 GB, free: 73.37 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002871/12.05, allocations: 1.476 MB / 4.338 GB, free: 73.23 MB / 1.245 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004996/12.05, allocations: 0.6548 MB / 4.338 GB, free: 73.06 MB / 1.245 GB Notification: Performance of pre-optimization done (n=219): time 1.652e-05/12.05, allocations: 0 / 4.338 GB, free: 73.06 MB / 1.245 GB Notification: Performance of matching and sorting (n=219): time 0.007506/12.06, allocations: 2.898 MB / 4.341 GB, free: 72.6 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.689e-05/12.06, allocations: 183.6 kB / 4.341 GB, free: 72.41 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01433/12.07, allocations: 4.505 MB / 4.346 GB, free: 72 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.001052/12.08, allocations: 82.55 kB / 4.346 GB, free: 71.97 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.004658/12.08, allocations: 2.8 MB / 4.349 GB, free: 71.25 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.001606/12.08, allocations: 0.7358 MB / 4.349 GB, free: 70.77 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008228/12.08, allocations: 57.47 kB / 4.349 GB, free: 70.73 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.0003894/12.08, allocations: 418.3 kB / 4.35 GB, free: 70.38 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003046/12.09, allocations: 1.079 MB / 4.351 GB, free: 69.93 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003982/12.09, allocations: 2.122 MB / 4.353 GB, free: 68.17 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003426/12.09, allocations: 1.367 MB / 4.354 GB, free: 67.51 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-05/12.09, allocations: 8.812 kB / 4.354 GB, free: 67.51 MB / 1.245 GB Notification: Performance of matching and sorting (n=364) (initialization): time 0.01109/12.11, allocations: 3.797 MB / 4.358 GB, free: 65.88 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.002657/12.11, allocations: 10.85 MB / 4.368 GB, free: 54.31 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.126e-05/12.11, allocations: 22.31 kB / 4.368 GB, free: 54.3 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004365/12.11, allocations: 137.6 kB / 4.369 GB, free: 54.27 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003076/12.11, allocations: 0.6989 MB / 4.369 GB, free: 54.2 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008014/12.11, allocations: 1.227 MB / 4.371 GB, free: 53.08 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006393/12.12, allocations: 461.3 kB / 4.371 GB, free: 52.98 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006634/12.12, allocations: 166 kB / 4.371 GB, free: 52.95 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/12.12, allocations: 7.75 kB / 4.371 GB, free: 52.95 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006903/12.13, allocations: 3.257 MB / 4.374 GB, free: 51.6 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.366e-05/12.13, allocations: 24.38 kB / 4.374 GB, free: 51.6 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000342/12.13, allocations: 122.8 kB / 4.374 GB, free: 51.57 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002934/12.13, allocations: 0.6804 MB / 4.375 GB, free: 51.5 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002822/12.13, allocations: 3.142 MB / 4.378 GB, free: 48.52 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006538/12.14, allocations: 443.2 kB / 4.379 GB, free: 48.41 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007719/12.14, allocations: 155.8 kB / 4.379 GB, free: 48.39 MB / 1.245 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (344): * Single equations (assignments): 338 * 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.001488/12.14, allocations: 359.4 kB / 4.379 GB, free: 48.08 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002476/12.14, allocations: 0.5548 MB / 4.38 GB, free: 47.79 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009846/12.15, allocations: 3.745 MB / 4.383 GB, free: 46.3 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.553e-05/12.15, allocations: 34.06 kB / 4.383 GB, free: 46.3 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.507e-05/12.15, allocations: 0 / 4.383 GB, free: 46.3 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004653/12.16, allocations: 2.674 MB / 4.386 GB, free: 45.18 MB / 1.245 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.02573/12.18, allocations: 8.775 MB / 4.394 GB, free: 41.09 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/12.18, allocations: 0 / 4.394 GB, free: 41.09 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002586/12.19, allocations: 0.4941 MB / 4.395 GB, free: 41.05 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003228/12.19, allocations: 97.05 kB / 4.395 GB, free: 41.01 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000412/12.19, allocations: 85.53 kB / 4.395 GB, free: 40.97 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006776/12.19, allocations: 1.174 MB / 4.396 GB, free: 39.86 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/12.19, allocations: 0 / 4.396 GB, free: 39.86 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00993/12.2, allocations: 5.143 MB / 4.401 GB, free: 37.34 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005542/12.2, allocations: 1.344 MB / 4.403 GB, free: 36.32 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00278/12.21, allocations: 54.88 kB / 4.403 GB, free: 36.29 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005981/12.21, allocations: 392.1 kB / 4.403 GB, free: 36.21 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004531/12.21, allocations: 149.8 kB / 4.403 GB, free: 36.19 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005282/12.21, allocations: 118 kB / 4.403 GB, free: 36.17 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.01018/12.22, allocations: 3.437 MB / 4.407 GB, free: 34.81 MB / 1.245 GB Notification: Performance of sort global known variables: time 5.41e-07/12.22, allocations: 0 / 4.407 GB, free: 34.81 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.0194/12.24, allocations: 3.115 MB / 4.41 GB, free: 34.08 MB / 1.245 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (229): * Single equations (assignments): 207 * 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.007762/12.25, allocations: 3.465 MB / 4.413 GB, free: 32.48 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.01153/12.26, allocations: 5.157 MB / 4.418 GB, free: 28.55 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/12.26, allocations: 0.5625 kB / 4.418 GB, free: 28.55 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.002868/12.27, allocations: 1.503 MB / 4.42 GB, free: 27.11 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01645/12.28, allocations: 2.63 MB / 4.422 GB, free: 25.22 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04007/12.32, allocations: 10.02 MB / 4.432 GB, free: 16.43 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006032/12.33, allocations: 3.114 MB / 4.435 GB, free: 14.17 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.01543/12.34, allocations: 1.697 MB / 4.437 GB, free: 13.05 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001871/12.35, allocations: 332 kB / 4.437 GB, free: 12.77 MB / 1.245 GB Notification: Performance of SimCode: time 1.783e-06/12.35, allocations: 0 / 4.437 GB, free: 12.77 MB / 1.245 GB Notification: Performance of Templates: time 1.278/13.62, allocations: 132.3 MB / 4.566 GB, free: 119.5 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