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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.561/1.561, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 179.3 kB / 326.5 MB, free: 2.246 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.857/1.857, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.0009346/0.0009348, allocations: 93.03 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.000332, allocations: 13.53 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2272, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2299/0.4571, allocations: 142.4 MB / 1.039 GB, free: 1.348 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004032/0.4575, allocations: 95.92 kB / 1.039 GB, free: 1.254 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03031/0.4879, allocations: 10.65 MB / 1.05 GB, free: 6.574 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4879, allocations: 0 / 1.05 GB, free: 6.574 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.226e-05/0.488, allocations: 12 kB / 1.05 GB, free: 6.562 MB / 0.698 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.001284/0.4893, allocations: 0.762 MB / 1.05 GB, free: 5.746 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.4893, allocations: 12.03 kB / 1.05 GB, free: 5.734 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.4894, allocations: 55.64 kB / 1.05 GB, free: 5.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007433/0.4902, allocations: 437.3 kB / 1.051 GB, free: 5.211 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.523e-05/0.4902, allocations: 24.56 kB / 1.051 GB, free: 5.188 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.122e-05/0.4903, allocations: 24 kB / 1.051 GB, free: 5.164 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006272/0.4909, allocations: 360.7 kB / 1.051 GB, free: 4.777 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.491, allocations: 3.938 kB / 1.051 GB, free: 4.773 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.526e-05/0.491, allocations: 12 kB / 1.051 GB, free: 4.762 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.491, allocations: 4 kB / 1.051 GB, free: 4.758 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000524/0.4915, allocations: 254.1 kB / 1.052 GB, free: 4.512 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.4931, allocations: 1.171 MB / 1.053 GB, free: 3.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006853/0.4938, allocations: 302.3 kB / 1.053 GB, free: 2.973 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.4938, allocations: 4.172 kB / 1.053 GB, free: 2.969 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004459/0.4943, allocations: 181.5 kB / 1.053 GB, free: 2.781 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 2.304e-06/0.4943, allocations: 3.938 kB / 1.053 GB, free: 2.777 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.0009461/0.4953, allocations: 412.4 kB / 1.054 GB, free: 2.371 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.49e-05/0.4954, allocations: 170.1 kB / 1.054 GB, free: 2.168 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000486/0.4959, allocations: 417 kB / 1.054 GB, free: 1.754 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.4959, allocations: 33.7 kB / 1.054 GB, free: 1.715 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.4961, allocations: 228.1 kB / 1.054 GB, free: 1.488 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.183e-05/0.4962, allocations: 74.98 kB / 1.054 GB, free: 1.414 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.359e-05/0.4962, allocations: 8 kB / 1.054 GB, free: 1.406 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.4963, allocations: 350.8 kB / 1.055 GB, free: 1.055 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.4966, allocations: 107.9 kB / 1.055 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002983/0.4969, allocations: 188.5 kB / 1.055 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.4972, allocations: 119.8 kB / 1.055 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4972, allocations: 0 / 1.055 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006199/0.4978, allocations: 336.8 kB / 1.055 GB, free: 288 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.4978, allocations: 4 kB / 1.055 GB, free: 284 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.4978, allocations: 64 / 1.055 GB, free: 284 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.4979, allocations: 8 kB / 1.055 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.4981, allocations: 59.91 kB / 1.056 GB, free: 216 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.4982, allocations: 4.094 kB / 1.056 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.4984, allocations: 43.77 kB / 1.056 GB, free: 168 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.4984, allocations: 8 kB / 1.056 GB, free: 160 kB / 0.698 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.4969/0.9953, allocations: 181.2 kB / 1.056 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.9955, allocations: 45.66 kB / 1.056 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008691/0.9963, allocations: 336.2 kB / 1.056 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.9963, allocations: 1.875 kB / 1.056 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.9964, allocations: 1.625 kB / 1.056 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.9964, allocations: 4.844 kB / 1.056 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004685/0.9969, allocations: 450.6 kB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.9969, allocations: 0 / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002571/0.9971, allocations: 49.48 kB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.9971, allocations: 1.312 kB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.9972, allocations: 6.562 kB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.9972, allocations: 1.406 kB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.9972, allocations: 2.938 kB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009019/0.9981, allocations: 0.4906 MB / 1.057 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.9983, allocations: 154.5 kB / 1.057 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.388e-05/0.9983, allocations: 6.125 kB / 1.057 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.9985, allocations: 23.52 kB / 1.057 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.568e-05/0.9986, allocations: 23.7 kB / 1.057 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.9987, allocations: 9.406 kB / 1.057 GB, free: 146 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003235/0.999, allocations: 331.2 kB / 1.058 GB, free: 146 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.999, allocations: 0.5469 kB / 1.058 GB, free: 146 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003779/0.9994, allocations: 97.86 kB / 1.058 GB, free: 145.9 MB / 0.698 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.0009537/1, allocations: 454.6 kB / 1.058 GB, free: 145.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000602/1.001, allocations: 271.5 kB / 1.058 GB, free: 145.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.001, allocations: 0 / 1.058 GB, free: 145.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002767/1.001, allocations: 139.2 kB / 1.059 GB, free: 145.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004969/1.002, allocations: 109.4 kB / 1.059 GB, free: 145.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/1.003, allocations: 0.8237 MB / 1.059 GB, free: 145.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/1.003, allocations: 0.8287 MB / 1.06 GB, free: 144.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001873/1.003, allocations: 60.08 kB / 1.06 GB, free: 144.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.847e-05/1.003, allocations: 34 kB / 1.06 GB, free: 144.7 MB / 0.698 GB Notification: Performance of SimCode: time 2.51e-07/1.003, allocations: 0 / 1.06 GB, free: 144.7 MB / 0.698 GB Notification: Performance of Templates: time 0.01169/1.015, allocations: 5.093 MB / 1.065 GB, free: 144.4 MB / 0.698 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