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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.823/1.823, allocations: 387.2 MB / 394.5 MB, free: 13.71 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.00107/0.00107, allocations: 177.3 kB / 487 MB, free: 5.395 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.144/1.144, allocations: 221.3 MB / 0.7819 GB, free: 1.391 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.0009136/0.0009134, allocations: 98.64 kB / 0.9213 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.47e-06/5.49e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1862, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7424/0.9286, allocations: 476.5 MB / 1.671 GB, free: 11.75 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.9289, allocations: 109.5 kB / 1.671 GB, free: 11.69 MB / 1.104 GB Notification: Performance of FrontEnd: time 6.78/7.709, allocations: 2.595 GB / 4.266 GB, free: 95.46 MB / 1.276 GB Notification: Performance of Transformations before backend: time 0.000598/7.709, allocations: 172.1 kB / 4.266 GB, free: 95.43 MB / 1.276 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.008752/7.718, allocations: 5.786 MB / 4.272 GB, free: 92.78 MB / 1.276 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/7.718, allocations: 6.719 kB / 4.272 GB, free: 92.78 MB / 1.276 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0062/7.724, allocations: 1.596 MB / 4.273 GB, free: 92.4 MB / 1.276 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02753/7.752, allocations: 14.73 MB / 4.288 GB, free: 91.11 MB / 1.276 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001894/7.752, allocations: 231.4 kB / 4.288 GB, free: 91.04 MB / 1.276 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004386/7.753, allocations: 246.8 kB / 4.288 GB, free: 91.04 MB / 1.276 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005096/7.758, allocations: 3.272 MB / 4.291 GB, free: 91.02 MB / 1.276 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00526/7.763, allocations: 3.777 MB / 4.295 GB, free: 90.56 MB / 1.276 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.433e-05/7.763, allocations: 7.438 kB / 4.295 GB, free: 90.56 MB / 1.276 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003062/7.763, allocations: 8.531 kB / 4.295 GB, free: 90.56 MB / 1.276 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-05/7.763, allocations: 99.47 kB / 4.295 GB, free: 90.56 MB / 1.276 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02345/7.787, allocations: 24.28 MB / 4.319 GB, free: 78.8 MB / 1.276 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/7.789, allocations: 1.559 MB / 4.32 GB, free: 78.77 MB / 1.276 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001667/7.79, allocations: 1.386 MB / 4.322 GB, free: 78.74 MB / 1.276 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009038/7.799, allocations: 8.042 MB / 4.33 GB, free: 74.76 MB / 1.276 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001733/7.801, allocations: 1.405 MB / 4.331 GB, free: 74.62 MB / 1.276 GB Notification: Performance of pre-optimization done (n=219): time 3.977e-06/7.801, allocations: 3.844 kB / 4.331 GB, free: 74.62 MB / 1.276 GB Notification: Performance of matching and sorting (n=219): time 0.006902/7.808, allocations: 3.338 MB / 4.334 GB, free: 74.24 MB / 1.276 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/7.808, allocations: 186.8 kB / 4.334 GB, free: 74.05 MB / 1.276 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004468/7.813, allocations: 3.973 MB / 4.338 GB, free: 73.68 MB / 1.276 GB Notification: Performance of collectPreVariables (initialization): time 0.0001832/7.813, allocations: 29.36 kB / 4.338 GB, free: 73.64 MB / 1.276 GB Notification: Performance of collectInitialEqns (initialization): time 0.001274/7.814, allocations: 1.623 MB / 4.34 GB, free: 72.85 MB / 1.276 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009054/7.815, allocations: 0.7125 MB / 4.341 GB, free: 72.38 MB / 1.276 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/7.815, allocations: 2.656 kB / 4.341 GB, free: 72.38 MB / 1.276 GB Notification: Performance of setup shared object (initialization): time 0.0001264/7.815, allocations: 409.8 kB / 4.341 GB, free: 72.07 MB / 1.276 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001449/7.817, allocations: 1.111 MB / 4.342 GB, free: 72.07 MB / 1.276 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001837/7.819, allocations: 2.13 MB / 4.344 GB, free: 70.89 MB / 1.276 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003764/7.822, allocations: 1.732 MB / 4.346 GB, free: 70.83 MB / 1.276 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/7.822, allocations: 8.406 kB / 4.346 GB, free: 70.83 MB / 1.276 GB Notification: Performance of matching and sorting (n=364) (initialization): time 0.008197/7.831, allocations: 4.103 MB / 4.35 GB, free: 70.38 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 0.00154/7.832, allocations: 10.6 MB / 4.36 GB, free: 59.49 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.812e-05/7.832, allocations: 26.25 kB / 4.36 GB, free: 59.49 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009432/7.833, allocations: 268.5 kB / 4.36 GB, free: 59.46 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002766/7.836, allocations: 0.7137 MB / 4.361 GB, free: 59.41 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003814/7.84, allocations: 4.22 MB / 4.365 GB, free: 55.9 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004078/7.844, allocations: 0.5295 MB / 4.366 GB, free: 55.75 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002717/7.844, allocations: 164.5 kB / 4.366 GB, free: 55.75 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 4.929e-06/7.844, allocations: 5.562 kB / 4.366 GB, free: 55.75 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006844/7.851, allocations: 3.39 MB / 4.369 GB, free: 55.53 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-05/7.851, allocations: 22.59 kB / 4.369 GB, free: 55.53 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008854/7.852, allocations: 271.5 kB / 4.37 GB, free: 55.5 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00262/7.854, allocations: 0.6887 MB / 4.37 GB, free: 55.46 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005211/7.86, allocations: 5.943 MB / 4.376 GB, free: 50.43 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003371/7.863, allocations: 486.2 kB / 4.376 GB, free: 50.32 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002731/7.863, allocations: 159 kB / 4.377 GB, free: 50.32 MB / 1.276 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 (342): * Single equations (assignments): 334 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005326/7.864, allocations: 271.5 kB / 4.377 GB, free: 50.09 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006337/7.865, allocations: 0.5219 MB / 4.377 GB, free: 49.82 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008048/7.873, allocations: 4.087 MB / 4.381 GB, free: 49.55 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.688e-05/7.873, allocations: 26.31 kB / 4.381 GB, free: 49.55 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/7.873, allocations: 5.375 kB / 4.381 GB, free: 49.55 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005073/7.878, allocations: 2.831 MB / 4.384 GB, free: 49.37 MB / 1.276 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01393/7.892, allocations: 8.282 MB / 4.392 GB, free: 48.64 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/7.892, allocations: 5.938 kB / 4.392 GB, free: 48.64 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002285/7.894, allocations: 0.4969 MB / 4.393 GB, free: 48.62 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004702/7.894, allocations: 159.7 kB / 4.393 GB, free: 48.59 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001835/7.895, allocations: 51.39 kB / 4.393 GB, free: 48.59 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002029/7.897, allocations: 3.752 MB / 4.397 GB, free: 45.14 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/7.897, allocations: 2.578 kB / 4.397 GB, free: 45.14 MB / 1.276 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007555/7.904, allocations: 5.384 MB / 4.402 GB, free: 44.32 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001753/7.906, allocations: 1.35 MB / 4.403 GB, free: 43.61 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007902/7.907, allocations: 20.41 kB / 4.403 GB, free: 43.61 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002971/7.91, allocations: 337.7 kB / 4.404 GB, free: 43.59 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002073/7.91, allocations: 135.1 kB / 4.404 GB, free: 43.59 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002457/7.91, allocations: 120.2 kB / 4.404 GB, free: 43.59 MB / 1.276 GB Notification: Performance of sort global known variables: time 0.003827/7.914, allocations: 2.963 MB / 4.407 GB, free: 43.16 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.01226/7.926, allocations: 3.208 MB / 4.41 GB, free: 42.48 MB / 1.276 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 (231): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.005597/7.932, allocations: 3.374 MB / 4.413 GB, free: 41.09 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.008469/7.941, allocations: 5.372 MB / 4.418 GB, free: 38.56 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/7.941, allocations: 4.344 kB / 4.418 GB, free: 38.56 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.00232/7.943, allocations: 1.684 MB / 4.42 GB, free: 37.74 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009583/7.952, allocations: 2.257 MB / 4.422 GB, free: 37.25 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03207/7.985, allocations: 10.34 MB / 4.432 GB, free: 33.68 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004361/7.989, allocations: 3.595 MB / 4.436 GB, free: 32.62 MB / 1.276 GB Notification: Performance of SimCode: time 9.82e-07/7.989, allocations: 0.9688 kB / 4.436 GB, free: 32.62 MB / 1.276 GB Notification: Performance of Templates: time 0.6714/8.66, allocations: 127.2 MB / 4.56 GB, free: 121 MB / 1.307 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