Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 108.6 kB / 16.41 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 191.8 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.579/2.579, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 64.11 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7264/0.7284, allocations: 151.6 MB / 1.167 GB, free: 4 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004411/0.7329, allocations: 2.929 MB / 1.17 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002479/0.7354, allocations: 1.516 MB / 1.172 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002298/0.7356, allocations: 11.94 kB / 1.172 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004178/0.7361, allocations: 103.1 kB / 1.172 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003427/0.7364, allocations: 147.1 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008868/0.7373, allocations: 421.3 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0005489/0.7379, allocations: 0.5305 MB / 1.173 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000321/0.7382, allocations: 206 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002631/0.7385, allocations: 207.1 kB / 1.173 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.7387, allocations: 203 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.234e-05/0.7388, allocations: 40 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001879/0.739, allocations: 99.88 kB / 1.174 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.7391, allocations: 107.6 kB / 1.174 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001915/0.7393, allocations: 218.7 kB / 1.174 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006727/0.74, allocations: 0.5923 MB / 1.174 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.74, allocations: 4 kB / 1.174 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.527e-06/0.74, allocations: 0 / 1.174 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.7401, allocations: 3.938 kB / 1.174 GB, free: 12.66 MB / 0.9044 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.001211/0.7413, allocations: 0.8111 MB / 1.175 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.7413, allocations: 8.031 kB / 1.175 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.482e-05/0.7414, allocations: 56.61 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006302/0.742, allocations: 450.8 kB / 1.176 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.7421, allocations: 20.94 kB / 1.176 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.25e-05/0.7421, allocations: 31.89 kB / 1.176 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005682/0.7427, allocations: 331.8 kB / 1.176 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.7427, allocations: 0 / 1.176 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.923e-05/0.7428, allocations: 8 kB / 1.176 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.7428, allocations: 8 kB / 1.176 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004885/0.7433, allocations: 214.1 kB / 1.176 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.7446, allocations: 1.093 MB / 1.177 GB, free: 9.473 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006202/0.7453, allocations: 242.9 kB / 1.178 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/0.7455, allocations: 116.7 kB / 1.178 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.7455, allocations: 4 kB / 1.178 GB, free: 9.105 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003299/0.7459, allocations: 163.1 kB / 1.178 GB, free: 8.934 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=23): time 1.703e-06/0.7459, allocations: 0 / 1.178 GB, free: 8.934 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23): time 0.0008382/0.7467, allocations: 351.5 kB / 1.178 GB, free: 8.586 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.479e-05/0.7468, allocations: 106.8 kB / 1.178 GB, free: 8.457 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004977/0.7473, allocations: 449.9 kB / 1.179 GB, free: 8.004 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.7474, allocations: 29.7 kB / 1.179 GB, free: 7.969 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.7475, allocations: 236.7 kB / 1.179 GB, free: 7.734 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.302e-05/0.7476, allocations: 79.36 kB / 1.179 GB, free: 7.656 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.333e-05/0.7477, allocations: 53.7 kB / 1.179 GB, free: 7.598 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.7479, allocations: 354.8 kB / 1.179 GB, free: 7.242 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.7481, allocations: 83.95 kB / 1.18 GB, free: 7.16 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002706/0.7484, allocations: 164.1 kB / 1.18 GB, free: 6.973 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004555/0.7488, allocations: 219.5 kB / 1.18 GB, free: 6.742 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7489, allocations: 0 / 1.18 GB, free: 6.742 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005992/0.7495, allocations: 297.1 kB / 1.18 GB, free: 6.445 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.7495, allocations: 12.03 kB / 1.18 GB, free: 6.434 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.7495, allocations: 0 / 1.18 GB, free: 6.434 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.7495, allocations: 4 kB / 1.18 GB, free: 6.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.7498, allocations: 63.83 kB / 1.18 GB, free: 6.367 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.7498, allocations: 0 / 1.18 GB, free: 6.367 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.7499, allocations: 31.83 kB / 1.18 GB, free: 6.336 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.75, allocations: 8 kB / 1.18 GB, free: 6.328 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.cooMod.combiTimeTable.nextTimeEvent,$whenCondition1,cooMod.combiTimeTable.nextTimeEventScaled,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEvent,cooMod.y,cooTowSpeCon.fmcMod.y,cooTowSpeCon.pmcMod.y,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 (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001946/0.7502, allocations: 183 kB / 1.18 GB, free: 6.141 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.009e-05/0.7502, allocations: 47.66 kB / 1.181 GB, free: 6.094 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.7503, allocations: 51.84 kB / 1.181 GB, free: 6.043 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.7504, allocations: 0 / 1.181 GB, free: 6.043 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.7504, allocations: 0 / 1.181 GB, free: 6.043 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.7504, allocations: 3.984 kB / 1.181 GB, free: 6.039 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004137/0.7508, allocations: 409.3 kB / 1.181 GB, free: 5.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.7508, allocations: 7.938 kB / 1.181 GB, free: 5.582 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/0.751, allocations: 39.91 kB / 1.181 GB, free: 5.543 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.751, allocations: 4 kB / 1.181 GB, free: 5.539 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.7511, allocations: 4 kB / 1.181 GB, free: 5.535 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.7511, allocations: 0 / 1.181 GB, free: 5.535 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7511, allocations: 4 kB / 1.181 GB, free: 5.531 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000838/0.7519, allocations: 423.9 kB / 1.181 GB, free: 5.102 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.7521, allocations: 148.6 kB / 1.182 GB, free: 4.938 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.872e-05/0.7521, allocations: 12 kB / 1.182 GB, free: 4.926 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.7523, allocations: 15.98 kB / 1.182 GB, free: 4.91 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.624e-05/0.7523, allocations: 19.97 kB / 1.182 GB, free: 4.891 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/0.7524, allocations: 8 kB / 1.182 GB, free: 4.883 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003404/0.7527, allocations: 319.1 kB / 1.182 GB, free: 4.578 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7527, allocations: 0 / 1.182 GB, free: 4.578 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003144/0.7531, allocations: 83.78 kB / 1.182 GB, free: 4.496 MB / 0.9044 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.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001473/0.7545, allocations: 435.8 kB / 1.182 GB, free: 4.227 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005406/0.7551, allocations: 219.6 kB / 1.183 GB, free: 4.012 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7551, allocations: 3.938 kB / 1.183 GB, free: 4.008 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002515/0.7554, allocations: 114.1 kB / 1.183 GB, free: 3.898 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004962/0.7559, allocations: 115.9 kB / 1.183 GB, free: 3.789 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.7571, allocations: 0.6849 MB / 1.184 GB, free: 3.078 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/0.7575, allocations: 0.8188 MB / 1.184 GB, free: 2.23 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001661/0.7577, allocations: 51.25 kB / 1.184 GB, free: 2.18 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.744e-05/0.7578, allocations: 31.42 kB / 1.184 GB, free: 2.148 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.7578, allocations: 0 / 1.184 GB, free: 2.148 MB / 0.9044 GB Notification: Performance of Templates: time 0.1364/0.8942, allocations: 4.802 MB / 1.189 GB, free: 13.4 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (rm -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches