Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.446/2.446, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001163/0.001163, allocations: 183.3 kB / 0.4902 GB, free: 2.297 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.553/1.553, allocations: 223.2 MB / 0.7992 GB, free: 14.79 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.0009137/0.000914, allocations: 96.31 kB / 0.9396 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004345/0.0004345, allocations: 10.94 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3054, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1906/0.4961, allocations: 160.8 MB / 1.386 GB, free: 8.832 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/0.4964, allocations: 99.92 kB / 1.386 GB, free: 8.734 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03017/0.5266, allocations: 10.59 MB / 1.397 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.184e-06/0.5267, allocations: 4 kB / 1.397 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.316e-05/0.5267, allocations: 8 kB / 1.397 GB, free: 14.11 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.001486/0.5282, allocations: 0.7505 MB / 1.397 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.5283, allocations: 12.56 kB / 1.397 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.5284, allocations: 59.3 kB / 1.397 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007988/0.5293, allocations: 417.6 kB / 1.398 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/0.5293, allocations: 20.56 kB / 1.398 GB, free: 12.76 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.64e-05/0.5294, allocations: 28 kB / 1.398 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006695/0.53, allocations: 360.7 kB / 1.398 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.5301, allocations: 0 / 1.398 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.834e-05/0.5301, allocations: 16 kB / 1.398 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.5301, allocations: 11.95 kB / 1.398 GB, free: 12.32 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005705/0.5307, allocations: 254.1 kB / 1.399 GB, free: 12.08 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001608/0.5323, allocations: 1.163 MB / 1.4 GB, free: 10.84 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007473/0.5331, allocations: 299.4 kB / 1.4 GB, free: 10.54 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.5331, allocations: 192 / 1.4 GB, free: 10.54 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003867/0.5335, allocations: 183.3 kB / 1.4 GB, free: 10.35 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=23): time 1.583e-06/0.5335, allocations: 0 / 1.4 GB, free: 10.35 MB / 0.9011 GB Notification: Performance of matching and sorting (n=23): time 0.0009699/0.5345, allocations: 416.1 kB / 1.401 GB, free: 9.941 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.419e-05/0.5346, allocations: 158.2 kB / 1.401 GB, free: 9.75 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005061/0.5351, allocations: 413 kB / 1.401 GB, free: 9.34 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.5352, allocations: 33.7 kB / 1.401 GB, free: 9.301 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.5354, allocations: 232.1 kB / 1.401 GB, free: 9.07 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.241e-05/0.5354, allocations: 67.02 kB / 1.401 GB, free: 9.004 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.361e-05/0.5354, allocations: 8 kB / 1.401 GB, free: 8.996 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.5356, allocations: 350.8 kB / 1.402 GB, free: 8.645 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/0.5359, allocations: 104 kB / 1.402 GB, free: 8.543 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000329/0.5362, allocations: 197 kB / 1.402 GB, free: 8.32 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/0.5365, allocations: 116 kB / 1.402 GB, free: 8.207 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.5365, allocations: 0 / 1.402 GB, free: 8.207 MB / 0.9011 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007009/0.5372, allocations: 334.9 kB / 1.402 GB, free: 7.875 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.5372, allocations: 8.125 kB / 1.402 GB, free: 7.867 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.5373, allocations: 3.984 kB / 1.402 GB, free: 7.863 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.5373, allocations: 4 kB / 1.402 GB, free: 7.859 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.5376, allocations: 55.91 kB / 1.403 GB, free: 7.805 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.5376, allocations: 3.953 kB / 1.403 GB, free: 7.801 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002409/0.5378, allocations: 43.72 kB / 1.403 GB, free: 7.758 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.5379, allocations: 16 kB / 1.403 GB, free: 7.742 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.0002156/0.5381, allocations: 177.6 kB / 1.403 GB, free: 7.559 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.268e-05/0.5382, allocations: 39.53 kB / 1.403 GB, free: 7.52 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000719/0.5389, allocations: 333.2 kB / 1.403 GB, free: 7.188 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.5389, allocations: 8 kB / 1.403 GB, free: 7.18 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5389, allocations: 0 / 1.403 GB, free: 7.18 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.5389, allocations: 7.938 kB / 1.403 GB, free: 7.172 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004625/0.5394, allocations: 449.2 kB / 1.404 GB, free: 6.684 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.5394, allocations: 3.938 kB / 1.404 GB, free: 6.68 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/0.5397, allocations: 47.91 kB / 1.404 GB, free: 6.633 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.5397, allocations: 4 kB / 1.404 GB, free: 6.629 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.5397, allocations: 4 kB / 1.404 GB, free: 6.625 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.5397, allocations: 3.984 kB / 1.404 GB, free: 6.621 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5397, allocations: 0 / 1.404 GB, free: 6.621 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009753/0.5407, allocations: 0.4968 MB / 1.404 GB, free: 6.109 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002162/0.5409, allocations: 152.6 kB / 1.404 GB, free: 5.941 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.668e-05/0.541, allocations: 7.938 kB / 1.404 GB, free: 5.934 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.5412, allocations: 27.97 kB / 1.404 GB, free: 5.906 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.326e-05/0.5413, allocations: 19.97 kB / 1.404 GB, free: 5.887 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.5413, allocations: 8 kB / 1.404 GB, free: 5.879 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000378/0.5417, allocations: 319.1 kB / 1.405 GB, free: 5.574 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5417, allocations: 4.062 kB / 1.405 GB, free: 5.57 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000404/0.5421, allocations: 103.7 kB / 1.405 GB, free: 5.469 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.001032/0.5432, allocations: 439.8 kB / 1.405 GB, free: 5.188 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0006547/0.5439, allocations: 274.4 kB / 1.405 GB, free: 4.922 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.5439, allocations: 0 / 1.405 GB, free: 4.922 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003086/0.5442, allocations: 144 kB / 1.406 GB, free: 4.781 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004949/0.5447, allocations: 92.08 kB / 1.406 GB, free: 4.695 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.5461, allocations: 0.8094 MB / 1.406 GB, free: 3.855 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004257/0.5466, allocations: 0.8268 MB / 1.407 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002321/0.5468, allocations: 50.94 kB / 1.407 GB, free: 2.949 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.5469, allocations: 27.44 kB / 1.407 GB, free: 2.922 MB / 0.9011 GB Notification: Performance of SimCode: time 2.71e-07/0.5469, allocations: 8 kB / 1.407 GB, free: 2.914 MB / 0.9011 GB Notification: Performance of Templates: time 0.01051/0.5574, allocations: 4.891 MB / 1.412 GB, free: 14.11 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches