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.527/2.527, allocations: 387.1 MB / 399.7 MB, free: 9.523 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.001261/0.001261, allocations: 175.7 kB / 492.3 MB, free: 0.6328 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.793/1.793, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0008856/0.0008858, allocations: 87.94 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.705e-05/3.714e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3103, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.008/1.319, allocations: 159.9 MB / 1.369 GB, free: 18.84 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/1.319, allocations: 94.92 kB / 1.369 GB, free: 18.84 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02622/1.345, allocations: 10.55 MB / 1.379 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.793e-06/1.345, allocations: 0 / 1.379 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.219e-05/1.346, allocations: 11.59 kB / 1.379 GB, free: 33.64 MB / 0.8386 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.001165/1.347, allocations: 0.6828 MB / 1.38 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.524e-05/1.347, allocations: 7.719 kB / 1.38 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/1.347, allocations: 58.7 kB / 1.38 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007776/1.348, allocations: 424.8 kB / 1.38 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.178e-05/1.348, allocations: 29.53 kB / 1.38 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.812e-05/1.348, allocations: 25.12 kB / 1.38 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005987/1.348, allocations: 331.9 kB / 1.38 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/1.348, allocations: 0 / 1.38 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.055e-05/1.348, allocations: 17.47 kB / 1.381 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/1.349, allocations: 3.812 kB / 1.381 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003544/1.349, allocations: 202.2 kB / 1.381 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/1.35, allocations: 1.161 MB / 1.382 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000472/1.351, allocations: 235.3 kB / 1.382 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/1.351, allocations: 97.8 kB / 1.382 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.112e-05/1.351, allocations: 11.78 kB / 1.382 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003058/1.351, allocations: 154.9 kB / 1.382 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=23): time 2.004e-06/1.351, allocations: 0 / 1.382 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23): time 0.0005023/1.352, allocations: 250.1 kB / 1.383 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.889e-05/1.352, allocations: 162 kB / 1.383 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004783/1.353, allocations: 406.3 kB / 1.383 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/1.353, allocations: 29.33 kB / 1.383 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/1.353, allocations: 234.8 kB / 1.383 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.602e-05/1.353, allocations: 68.34 kB / 1.383 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.388e-05/1.353, allocations: 3.312 kB / 1.383 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001533/1.353, allocations: 355.5 kB / 1.384 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/1.353, allocations: 74.91 kB / 1.384 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/1.353, allocations: 174.8 kB / 1.384 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/1.353, allocations: 86.83 kB / 1.384 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/1.354, allocations: 0 / 1.384 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004041/1.354, allocations: 276.2 kB / 1.384 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/1.354, allocations: 7.688 kB / 1.384 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/1.354, allocations: 3.938 kB / 1.384 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/1.354, allocations: 3.75 kB / 1.384 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/1.354, allocations: 54.25 kB / 1.384 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/1.354, allocations: 3.812 kB / 1.384 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/1.354, allocations: 50.64 kB / 1.384 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/1.355, allocations: 10.94 kB / 1.384 GB, free: 30.5 MB / 0.8386 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.0001115/1.355, allocations: 123.4 kB / 1.385 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.101e-05/1.355, allocations: 38.81 kB / 1.385 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004742/1.355, allocations: 274.9 kB / 1.385 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/1.355, allocations: 3.906 kB / 1.385 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/1.355, allocations: 0 / 1.385 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/1.355, allocations: 3.984 kB / 1.385 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004181/1.356, allocations: 448.2 kB / 1.385 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/1.356, allocations: 7.891 kB / 1.385 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/1.356, allocations: 42.59 kB / 1.385 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/1.356, allocations: 3.938 kB / 1.385 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/1.356, allocations: 7.5 kB / 1.385 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/1.356, allocations: 3.906 kB / 1.385 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.356, allocations: 0 / 1.385 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006008/1.357, allocations: 422.5 kB / 1.386 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001788/1.357, allocations: 154.8 kB / 1.386 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.305e-05/1.357, allocations: 3.312 kB / 1.386 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/1.357, allocations: 26.11 kB / 1.386 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.982e-05/1.357, allocations: 19.56 kB / 1.386 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/1.357, allocations: 3.844 kB / 1.386 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000346/1.357, allocations: 326 kB / 1.386 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.357, allocations: 0 / 1.386 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004241/1.358, allocations: 104.8 kB / 1.386 GB, free: 29.57 MB / 0.8386 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.001162/1.359, allocations: 404.4 kB / 1.387 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004322/1.359, allocations: 213.9 kB / 1.387 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.36, allocations: 0 / 1.387 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001735/1.36, allocations: 119.2 kB / 1.387 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004843/1.36, allocations: 92.02 kB / 1.387 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009519/1.361, allocations: 0.4903 MB / 1.388 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/1.362, allocations: 0.826 MB / 1.388 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001902/1.362, allocations: 57.2 kB / 1.389 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.853e-05/1.362, allocations: 34.03 kB / 1.389 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.362, allocations: 4 kB / 1.389 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of Templates: time 0.008505/1.37, allocations: 4.892 MB / 1.393 GB, free: 25.91 MB / 0.8386 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