Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.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.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_9_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_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.261/2.261, allocations: 390.3 MB / 405.3 MB, free: 13.54 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.001175/0.001175, allocations: 177.2 kB / 498.1 MB, free: 5.758 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.56/1.56, allocations: 223.2 MB / 0.7949 GB, free: 18.91 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.0009007/0.0009007, allocations: 99.95 kB / 0.9346 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003995/0.0003994, allocations: 8.656 kB / 1.084 GB, free: 212.3 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2955, allocations: 142.4 MB / 1.223 GB, free: 89.59 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.209/0.5046, allocations: 160 MB / 1.379 GB, free: 9.391 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/0.5049, allocations: 95.94 kB / 1.379 GB, free: 9.297 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03015/0.5351, allocations: 10.58 MB / 1.39 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.372e-06/0.5351, allocations: 8 kB / 1.39 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.749e-05/0.5352, allocations: 15.98 kB / 1.39 GB, free: 14.67 MB / 0.9011 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.001561/0.5368, allocations: 0.7518 MB / 1.39 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.5368, allocations: 12.03 kB / 1.39 GB, free: 13.85 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001759/0.537, allocations: 59.23 kB / 1.39 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008636/0.5379, allocations: 429.4 kB / 1.391 GB, free: 13.33 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.742e-05/0.538, allocations: 20.56 kB / 1.391 GB, free: 13.31 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.223e-05/0.538, allocations: 28 kB / 1.391 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007325/0.5388, allocations: 360.7 kB / 1.391 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.5388, allocations: 0 / 1.391 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.5388, allocations: 12 kB / 1.391 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.5389, allocations: 15.95 kB / 1.391 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005849/0.5394, allocations: 250.1 kB / 1.391 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/0.5413, allocations: 1.167 MB / 1.393 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007103/0.542, allocations: 295.4 kB / 1.393 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.372e-05/0.5421, allocations: 4.188 kB / 1.393 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003946/0.5425, allocations: 184.1 kB / 1.393 GB, free: 10.9 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=23): time 2.585e-06/0.5425, allocations: 0 / 1.393 GB, free: 10.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=23): time 0.0009844/0.5435, allocations: 419.4 kB / 1.393 GB, free: 10.48 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.5436, allocations: 154.2 kB / 1.394 GB, free: 10.3 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005884/0.5442, allocations: 413.1 kB / 1.394 GB, free: 9.891 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.5442, allocations: 29.7 kB / 1.394 GB, free: 9.855 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.5444, allocations: 228.1 kB / 1.394 GB, free: 9.625 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 8.149e-05/0.5445, allocations: 79 kB / 1.394 GB, free: 9.547 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.263e-05/0.5445, allocations: 0 / 1.394 GB, free: 9.547 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.5447, allocations: 354.8 kB / 1.395 GB, free: 9.191 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/0.545, allocations: 99.95 kB / 1.395 GB, free: 9.094 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003436/0.5453, allocations: 201.5 kB / 1.395 GB, free: 8.867 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/0.5456, allocations: 118.2 kB / 1.395 GB, free: 8.754 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.5456, allocations: 0 / 1.395 GB, free: 8.754 MB / 0.9011 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006841/0.5463, allocations: 340.8 kB / 1.395 GB, free: 8.414 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.5463, allocations: 4 kB / 1.395 GB, free: 8.41 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.5464, allocations: 3.984 kB / 1.395 GB, free: 8.406 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.5464, allocations: 8.125 kB / 1.395 GB, free: 8.398 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.5467, allocations: 55.91 kB / 1.395 GB, free: 8.344 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.5467, allocations: 3.953 kB / 1.395 GB, free: 8.34 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.5469, allocations: 39.81 kB / 1.395 GB, free: 8.301 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.547, allocations: 12 kB / 1.395 GB, free: 8.289 MB / 0.9011 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 () * Number of clocked 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.0002422/0.5472, allocations: 181.7 kB / 1.396 GB, free: 8.102 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.163e-05/0.5473, allocations: 47.44 kB / 1.396 GB, free: 8.055 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007702/0.5481, allocations: 326.7 kB / 1.396 GB, free: 7.73 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.5481, allocations: 4 kB / 1.396 GB, free: 7.727 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.5481, allocations: 0 / 1.396 GB, free: 7.727 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/0.5481, allocations: 7.938 kB / 1.396 GB, free: 7.719 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005187/0.5486, allocations: 437.3 kB / 1.396 GB, free: 7.242 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.5486, allocations: 3.938 kB / 1.396 GB, free: 7.238 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/0.5489, allocations: 47.91 kB / 1.396 GB, free: 7.191 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.5489, allocations: 11.98 kB / 1.397 GB, free: 7.18 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.5489, allocations: 4 kB / 1.397 GB, free: 7.176 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.5489, allocations: 0 / 1.397 GB, free: 7.176 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.5489, allocations: 3.984 kB / 1.397 GB, free: 7.172 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009473/0.5499, allocations: 0.49 MB / 1.397 GB, free: 6.664 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002099/0.5501, allocations: 156.5 kB / 1.397 GB, free: 6.492 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.171e-05/0.5502, allocations: 12 kB / 1.397 GB, free: 6.48 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.5504, allocations: 27.97 kB / 1.397 GB, free: 6.453 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.561e-05/0.5505, allocations: 19.97 kB / 1.397 GB, free: 6.434 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.5505, allocations: 12.06 kB / 1.397 GB, free: 6.422 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000392/0.5509, allocations: 319.1 kB / 1.398 GB, free: 6.117 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5509, allocations: 4 kB / 1.398 GB, free: 6.113 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003961/0.5513, allocations: 99.77 kB / 1.398 GB, free: 6.016 MB / 0.9011 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) * Number of clocked states: 0 () * 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.001061/0.5524, allocations: 442.6 kB / 1.398 GB, free: 5.727 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0006387/0.553, allocations: 268.5 kB / 1.398 GB, free: 5.465 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5531, allocations: 0 / 1.398 GB, free: 5.465 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.000289/0.5534, allocations: 138.5 kB / 1.398 GB, free: 5.332 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005213/0.5539, allocations: 103.4 kB / 1.399 GB, free: 5.234 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.5555, allocations: 0.8112 MB / 1.399 GB, free: 4.395 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005213/0.556, allocations: 0.8229 MB / 1.4 GB, free: 3.547 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002444/0.5563, allocations: 54.94 kB / 1.4 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.5564, allocations: 31.44 kB / 1.4 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of SimCode: time 2.41e-07/0.5564, allocations: 0 / 1.4 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of Templates: time 0.5062/1.063, allocations: 4.884 MB / 1.405 GB, free: 169.6 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches