Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") [: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 7.0.3-maint.7.0.x/package.mo): time 1.424/1.424, allocations: 249.4 MB / 256.7 MB, free: 7.008 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001201/0.001201, allocations: 188.3 kB / 316 MB, free: 3.582 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.713/1.713, allocations: 205.1 MB / 0.5667 GB, free: 15.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001093/0.001094, allocations: 79.72 kB / 0.671 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.504e-06/7.514e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2367, allocations: 106.3 MB / 0.8846 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7194/0.9562, allocations: 142.6 MB / 1.024 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/0.9565, allocations: 100.6 kB / 1.024 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.03033/0.9868, allocations: 10.2 MB / 1.034 GB, free: 3.852 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.361e-05/0.9869, allocations: 11.94 kB / 1.034 GB, free: 3.84 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001114/0.9881, allocations: 0.696 MB / 1.035 GB, free: 3.117 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.9881, allocations: 8.031 kB / 1.035 GB, free: 3.109 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.9882, allocations: 59.34 kB / 1.035 GB, free: 3.051 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000741/0.989, allocations: 434.9 kB / 1.035 GB, free: 2.652 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.989, allocations: 8 kB / 1.035 GB, free: 2.645 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.514e-05/0.9891, allocations: 16 kB / 1.035 GB, free: 2.629 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000446/0.9895, allocations: 180.8 kB / 1.035 GB, free: 2.527 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005042/0.99, allocations: 288.7 kB / 1.036 GB, free: 2.281 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.99, allocations: 0 / 1.036 GB, free: 2.281 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.029e-05/0.9901, allocations: 0 / 1.036 GB, free: 2.281 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.9901, allocations: 8 kB / 1.036 GB, free: 2.273 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.9916, allocations: 1.111 MB / 1.037 GB, free: 1.316 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004424/0.9921, allocations: 219.4 kB / 1.037 GB, free: 1.168 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.9923, allocations: 89.41 kB / 1.037 GB, free: 1.113 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.501e-05/0.9923, allocations: 8.172 kB / 1.037 GB, free: 1.105 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002119/0.9925, allocations: 135.9 kB / 1.037 GB, free: 0.9961 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=23): time 1.994e-06/0.9925, allocations: 4 kB / 1.037 GB, free: 0.9922 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23): time 0.0004919/0.993, allocations: 228.5 kB / 1.037 GB, free: 0.8203 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.276e-05/0.9931, allocations: 165.3 kB / 1.037 GB, free: 0.625 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004413/0.9936, allocations: 365.9 kB / 1.038 GB, free: 352 kB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.9936, allocations: 25.7 kB / 1.038 GB, free: 320 kB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.9938, allocations: 171.3 kB / 1.038 GB, free: 164 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.342e-05/0.9938, allocations: 73.56 kB / 1.038 GB, free: 100 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.279e-05/0.9939, allocations: 3.938 kB / 1.038 GB, free: 96 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002309/0.9941, allocations: 351.5 kB / 1.038 GB, free: 15.76 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.9942, allocations: 81.11 kB / 1.038 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.9944, allocations: 156.2 kB / 1.039 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.9946, allocations: 85.7 kB / 1.039 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.9946, allocations: 3.938 kB / 1.039 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003967/0.995, allocations: 251.3 kB / 1.039 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.995, allocations: 4 kB / 1.039 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.995, allocations: 7.938 kB / 1.039 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.9951, allocations: 0 / 1.039 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000296/0.9954, allocations: 60.08 kB / 1.039 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.9954, allocations: 7.938 kB / 1.039 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/0.9956, allocations: 31.83 kB / 1.039 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.9957, allocations: 15.92 kB / 1.039 GB, free: 15.2 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.cooMod.combiTimeTable.nextTimeEvent,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,cooTowSpeCon.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.9958, allocations: 112.2 kB / 1.039 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.012e-05/0.9959, allocations: 39.53 kB / 1.039 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004644/0.9963, allocations: 253.9 kB / 1.039 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.9963, allocations: 3.984 kB / 1.039 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.9964, allocations: 3.906 kB / 1.039 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.9964, allocations: 8 kB / 1.039 GB, free: 14.85 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004193/0.9968, allocations: 391.1 kB / 1.04 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.9968, allocations: 0 / 1.04 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002622/0.9971, allocations: 47.53 kB / 1.04 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.305e-06/0.9971, allocations: 8 kB / 1.04 GB, free: 14.47 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.9971, allocations: 3.984 kB / 1.04 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.9971, allocations: 3.984 kB / 1.04 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.9971, allocations: 8 kB / 1.04 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006012/0.9977, allocations: 388.3 kB / 1.04 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/0.998, allocations: 157.8 kB / 1.04 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.286e-05/0.998, allocations: 0 / 1.04 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.9983, allocations: 24.05 kB / 1.04 GB, free: 14 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.825e-05/0.9984, allocations: 18.91 kB / 1.04 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.9984, allocations: 11.73 kB / 1.04 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0003188/0.9987, allocations: 289.8 kB / 1.041 GB, free: 13.76 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000398/0.9991, allocations: 95.5 kB / 1.041 GB, free: 13.67 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cooTowSpeCon.conPID.I.y) * Number of discrete variables: 6 ($whenCondition1,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007519/0.9999, allocations: 330.5 kB / 1.041 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003989/1, allocations: 206.7 kB / 1.041 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1, allocations: 7.938 kB / 1.041 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001831/1, allocations: 102.3 kB / 1.041 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000542/1.001, allocations: 90.53 kB / 1.042 GB, free: 13.15 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/1.002, allocations: 499.8 kB / 1.042 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006153/1.003, allocations: 0.861 MB / 1.043 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of SimCode: time 2.6e-07/1.003, allocations: 0 / 1.043 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of Templates: time 0.01071/1.014, allocations: 5.004 MB / 1.048 GB, free: 6.883 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches