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.193/2.193, allocations: 387.4 MB / 394.9 MB, free: 13.33 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.001085/0.001086, allocations: 180.9 kB / 487.4 MB, free: 5.012 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.507/1.507, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 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.0008311/0.0008311, allocations: 79.97 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.535e-05/1.537e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2862, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.242/1.529, allocations: 476.6 MB / 1.671 GB, free: 10.62 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/1.529, allocations: 111.5 kB / 1.672 GB, free: 10.55 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 9.996/11.53, allocations: 2.58 GB / 4.252 GB, free: 99.6 MB / 1.245 GB Notification: Performance of FrontEnd: time 2.665e-06/11.53, allocations: 0 / 4.252 GB, free: 99.6 MB / 1.245 GB Notification: Performance of Transformations before backend: time 0.001841/11.53, allocations: 176.9 kB / 4.252 GB, free: 99.57 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.02007/11.55, allocations: 5.75 MB / 4.257 GB, free: 96.85 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/11.55, allocations: 9.656 kB / 4.257 GB, free: 96.85 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01003/11.56, allocations: 1.513 MB / 4.259 GB, free: 96.47 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03768/11.6, allocations: 14.57 MB / 4.273 GB, free: 95.19 MB / 1.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005153/11.6, allocations: 228.6 kB / 4.273 GB, free: 95.12 MB / 1.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001981/11.6, allocations: 246.2 kB / 4.273 GB, free: 95.12 MB / 1.245 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01018/11.61, allocations: 3.253 MB / 4.277 GB, free: 95.1 MB / 1.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01385/11.62, allocations: 3.774 MB / 4.28 GB, free: 94.64 MB / 1.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000215/11.62, allocations: 5.719 kB / 4.28 GB, free: 94.64 MB / 1.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00129/11.62, allocations: 17.17 kB / 4.28 GB, free: 94.63 MB / 1.245 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001273/11.62, allocations: 97.97 kB / 4.28 GB, free: 94.63 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.04324/11.67, allocations: 23.32 MB / 4.303 GB, free: 83.54 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004341/11.67, allocations: 2.378 MB / 4.306 GB, free: 83.3 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002487/11.67, allocations: 1.354 MB / 4.307 GB, free: 83.29 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.01648/11.69, allocations: 8.15 MB / 4.315 GB, free: 79.31 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002571/11.69, allocations: 1.409 MB / 4.316 GB, free: 79.18 MB / 1.245 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004058/11.7, allocations: 0.5813 MB / 4.317 GB, free: 79.07 MB / 1.245 GB Notification: Performance of pre-optimization done (n=219): time 9.929e-06/11.7, allocations: 0 / 4.317 GB, free: 79.07 MB / 1.245 GB Notification: Performance of matching and sorting (n=219): time 0.009337/11.71, allocations: 3.115 MB / 4.32 GB, free: 78.7 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.051e-05/11.71, allocations: 184.2 kB / 4.32 GB, free: 78.51 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01148/11.72, allocations: 3.948 MB / 4.324 GB, free: 78.14 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.0009378/11.72, allocations: 35.8 kB / 4.324 GB, free: 78.11 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.004379/11.72, allocations: 2.795 MB / 4.327 GB, free: 77.3 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.001385/11.72, allocations: 0.7058 MB / 4.327 GB, free: 76.83 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000685/11.73, allocations: 3.469 kB / 4.327 GB, free: 76.83 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.0004142/11.73, allocations: 419.2 kB / 4.328 GB, free: 76.53 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002912/11.73, allocations: 1.054 MB / 4.329 GB, free: 76.52 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003278/11.73, allocations: 2.074 MB / 4.331 GB, free: 75.33 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005638/11.74, allocations: 1.61 MB / 4.332 GB, free: 75.25 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.843e-05/11.74, allocations: 6.969 kB / 4.332 GB, free: 75.25 MB / 1.245 GB Notification: Performance of matching and sorting (n=364) (initialization): time 0.01178/11.75, allocations: 3.874 MB / 4.336 GB, free: 74.71 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.002097/11.75, allocations: 10.67 MB / 4.347 GB, free: 63.68 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.43e-05/11.75, allocations: 20.78 kB / 4.347 GB, free: 63.68 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003307/11.75, allocations: 119.2 kB / 4.347 GB, free: 63.66 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003072/11.76, allocations: 0.7071 MB / 4.347 GB, free: 63.61 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007207/11.76, allocations: 1.251 MB / 4.349 GB, free: 62.55 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005632/11.76, allocations: 382.2 kB / 4.349 GB, free: 62.5 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005947/11.76, allocations: 166.3 kB / 4.349 GB, free: 62.5 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/11.76, allocations: 3.562 kB / 4.349 GB, free: 62.5 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00842/11.77, allocations: 3.199 MB / 4.352 GB, free: 62.27 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.359e-05/11.77, allocations: 27.84 kB / 4.352 GB, free: 62.27 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003313/11.77, allocations: 116.7 kB / 4.352 GB, free: 62.25 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003117/11.77, allocations: 0.6832 MB / 4.353 GB, free: 62.2 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003123/11.78, allocations: 3.023 MB / 4.356 GB, free: 59.62 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005987/11.78, allocations: 354.5 kB / 4.356 GB, free: 59.58 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0011/11.78, allocations: 161.6 kB / 4.356 GB, free: 59.58 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.00177/11.79, allocations: 263.1 kB / 4.357 GB, free: 59.35 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002443/11.79, allocations: 0.5219 MB / 4.357 GB, free: 59.07 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01206/11.8, allocations: 3.701 MB / 4.361 GB, free: 58.78 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.658e-05/11.8, allocations: 32.14 kB / 4.361 GB, free: 58.77 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/11.8, allocations: 0 / 4.361 GB, free: 58.77 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006648/11.81, allocations: 2.709 MB / 4.364 GB, free: 58.61 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.02693/11.83, allocations: 8.304 MB / 4.372 GB, free: 54.98 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/11.83, allocations: 0 / 4.372 GB, free: 54.98 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002606/11.84, allocations: 0.4906 MB / 4.372 GB, free: 54.93 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002285/11.84, allocations: 90.75 kB / 4.372 GB, free: 54.89 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003788/11.84, allocations: 50.89 kB / 4.372 GB, free: 54.88 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006191/11.84, allocations: 1.185 MB / 4.373 GB, free: 53.77 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/11.84, allocations: 3.938 kB / 4.373 GB, free: 53.76 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01058/11.85, allocations: 5.097 MB / 4.378 GB, free: 51.37 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004149/11.85, allocations: 1.303 MB / 4.38 GB, free: 50.38 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002155/11.86, allocations: 19 kB / 4.38 GB, free: 50.37 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005274/11.86, allocations: 346.3 kB / 4.38 GB, free: 50.33 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003569/11.86, allocations: 154.9 kB / 4.38 GB, free: 50.3 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004265/11.86, allocations: 129.3 kB / 4.38 GB, free: 50.27 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.008394/11.87, allocations: 2.938 MB / 4.383 GB, free: 49.02 MB / 1.245 GB Notification: Performance of sort global known variables: time 4.21e-07/11.87, allocations: 0 / 4.383 GB, free: 49.02 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.01802/11.89, allocations: 3.05 MB / 4.386 GB, free: 48.36 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.007053/11.9, allocations: 3.365 MB / 4.389 GB, free: 46.81 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.01002/11.91, allocations: 4.918 MB / 4.394 GB, free: 44.56 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/11.91, allocations: 0.5625 kB / 4.394 GB, free: 44.56 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.00247/11.91, allocations: 1.449 MB / 4.396 GB, free: 43.9 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01583/11.92, allocations: 2.357 MB / 4.398 GB, free: 43.41 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03773/11.96, allocations: 9.841 MB / 4.408 GB, free: 39.84 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004633/11.97, allocations: 3.112 MB / 4.411 GB, free: 38.82 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.009708/11.98, allocations: 1.631 MB / 4.412 GB, free: 38.54 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001168/11.98, allocations: 325.9 kB / 4.412 GB, free: 38.52 MB / 1.245 GB Notification: Performance of SimCode: time 9.92e-07/11.98, allocations: 0 / 4.412 GB, free: 38.52 MB / 1.245 GB Notification: Performance of Templates: time 1.15/13.13, allocations: 111.9 MB / 4.522 GB, free: 104.6 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