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.001579/0.001579, allocations: 115.1 kB / 16.42 MB, free: 6.5 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.001794/0.001794, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.39/1.39, allocations: 222.9 MB / 241.1 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.463/2.463, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 60.12 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7361/0.7375, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004446/0.742, allocations: 2.929 MB / 1.17 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002734/0.7448, allocations: 1.516 MB / 1.172 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004008/0.7452, allocations: 11.94 kB / 1.172 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004664/0.7457, allocations: 107.2 kB / 1.172 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004816/0.7462, allocations: 143.1 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.7472, allocations: 412.4 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0006357/0.7479, allocations: 0.5383 MB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003421/0.7482, allocations: 206 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003169/0.7486, allocations: 207.1 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002761/0.7489, allocations: 195 kB / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.756e-05/0.7489, allocations: 44 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002213/0.7492, allocations: 99.91 kB / 1.174 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.7493, allocations: 111.6 kB / 1.174 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002021/0.7495, allocations: 210.8 kB / 1.174 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006533/0.7502, allocations: 0.6011 MB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.7502, allocations: 0 / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7502, allocations: 0 / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.7502, allocations: 0 / 1.174 GB, free: 12.57 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.001345/0.7516, allocations: 0.7882 MB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.7516, allocations: 8.031 kB / 1.175 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.7518, allocations: 60.38 kB / 1.175 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006837/0.7524, allocations: 438.4 kB / 1.176 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/0.7525, allocations: 28.92 kB / 1.176 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.896e-05/0.7525, allocations: 31.88 kB / 1.176 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005944/0.7531, allocations: 327.9 kB / 1.176 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.7532, allocations: 0 / 1.176 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.008e-05/0.7532, allocations: 12 kB / 1.176 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.7532, allocations: 8 kB / 1.176 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005112/0.7537, allocations: 214.1 kB / 1.176 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.7551, allocations: 1.096 MB / 1.177 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005998/0.7557, allocations: 244 kB / 1.178 GB, free: 9.156 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/0.756, allocations: 108.8 kB / 1.178 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.756, allocations: 7.984 kB / 1.178 GB, free: 9.039 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003241/0.7563, allocations: 157.8 kB / 1.178 GB, free: 8.875 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=23): time 1.863e-06/0.7563, allocations: 0 / 1.178 GB, free: 8.875 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23): time 0.0008237/0.7572, allocations: 348.8 kB / 1.178 GB, free: 8.527 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.7572, allocations: 106.8 kB / 1.178 GB, free: 8.398 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004755/0.7577, allocations: 457.8 kB / 1.179 GB, free: 7.938 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/0.7577, allocations: 29.7 kB / 1.179 GB, free: 7.902 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.7579, allocations: 228.5 kB / 1.179 GB, free: 7.676 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.744e-05/0.758, allocations: 75 kB / 1.179 GB, free: 7.602 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.145e-05/0.7581, allocations: 57.61 kB / 1.179 GB, free: 7.539 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.7582, allocations: 358.8 kB / 1.179 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.7584, allocations: 79.95 kB / 1.179 GB, free: 7.102 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/0.7587, allocations: 163.7 kB / 1.18 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004479/0.7592, allocations: 219.2 kB / 1.18 GB, free: 6.684 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.7592, allocations: 0 / 1.18 GB, free: 6.684 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000607/0.7598, allocations: 298.2 kB / 1.18 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.7598, allocations: 8 kB / 1.18 GB, free: 6.379 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-06/0.7598, allocations: 0 / 1.18 GB, free: 6.379 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.7598, allocations: 7.938 kB / 1.18 GB, free: 6.371 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.7601, allocations: 60.05 kB / 1.18 GB, free: 6.312 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.7601, allocations: 0 / 1.18 GB, free: 6.312 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.7603, allocations: 31.73 kB / 1.18 GB, free: 6.281 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.7604, allocations: 12 kB / 1.18 GB, free: 6.27 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.0001818/0.7605, allocations: 182.9 kB / 1.18 GB, free: 6.082 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.16e-05/0.7606, allocations: 43.47 kB / 1.18 GB, free: 6.039 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.303e-05/0.7607, allocations: 43.84 kB / 1.181 GB, free: 5.996 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.7607, allocations: 7.984 kB / 1.181 GB, free: 5.988 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.7607, allocations: 0 / 1.181 GB, free: 5.988 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.7609, allocations: 140.5 kB / 1.181 GB, free: 5.832 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.414e-05/0.7609, allocations: 4 kB / 1.181 GB, free: 5.828 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.7611, allocations: 19.98 kB / 1.181 GB, free: 5.809 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.57e-05/0.7612, allocations: 19.97 kB / 1.181 GB, free: 5.789 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007174/0.7619, allocations: 343.9 kB / 1.181 GB, free: 5.449 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008679/0.7628, allocations: 0.5565 MB / 1.182 GB, free: 4.875 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002294/0.763, allocations: 110.4 kB / 1.182 GB, free: 4.77 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003129/0.7634, allocations: 327.1 kB / 1.182 GB, free: 4.457 MB / 0.9044 GB Notification: Performance of Backend: time 6.62e-07/0.7634, allocations: 0 / 1.182 GB, free: 4.457 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001551/0.7649, allocations: 0.5425 MB / 1.183 GB, free: 4.07 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001376/0.7663, allocations: 1.159 MB / 1.184 GB, free: 2.871 MB / 0.9044 GB Notification: Performance of Templates: time 0.01017/0.7765, allocations: 5.328 MB / 1.189 GB, free: 13.61 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 -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