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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00819/0.008191, allocations: 102.7 kB / 15.73 MB, free: 6.035 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.001682/0.001682, allocations: 193.5 kB / 16.67 MB, free: 5.953 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.386/1.386, allocations: 222.9 MB / 240.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.327/2.327, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 67.89 kB / 0.9508 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.949/0.9502, allocations: 140.4 MB / 1.088 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005023/0.9553, allocations: 2.923 MB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002977/0.9583, allocations: 1.516 MB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005028/0.9588, allocations: 12.34 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005264/0.9593, allocations: 101 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004735/0.9599, allocations: 149.8 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.961, allocations: 409.7 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006897/0.9617, allocations: 0.5384 MB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000342/0.962, allocations: 210 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003019/0.9623, allocations: 210.6 kB / 1.094 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/0.9626, allocations: 191.9 kB / 1.094 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.179e-05/0.9627, allocations: 41.75 kB / 1.094 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002485/0.9629, allocations: 109.6 kB / 1.094 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.9631, allocations: 104.2 kB / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001693/0.9632, allocations: 212.9 kB / 1.094 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008181/0.9641, allocations: 0.597 MB / 1.095 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.9641, allocations: 1 kB / 1.095 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9641, allocations: 0 / 1.095 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.9641, allocations: 0.7969 kB / 1.095 GB, free: 0.8906 MB / 0.8575 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.001242/0.9653, allocations: 0.7953 MB / 1.096 GB, free: 252 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.9654, allocations: 9.656 kB / 1.096 GB, free: 252 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.9655, allocations: 54.25 kB / 1.096 GB, free: 224 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007578/0.9663, allocations: 436.8 kB / 1.096 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.937e-05/0.9663, allocations: 29.8 kB / 1.096 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.195e-05/0.9664, allocations: 33.06 kB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006597/0.9671, allocations: 323.5 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.9671, allocations: 0.9062 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/0.9671, allocations: 14.84 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.9671, allocations: 7.828 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005489/0.9677, allocations: 214.5 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.9693, allocations: 1.094 MB / 1.098 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006298/0.9699, allocations: 237.2 kB / 1.098 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002503/0.9702, allocations: 119 kB / 1.098 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-05/0.9702, allocations: 6.859 kB / 1.098 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003712/0.9706, allocations: 155.9 kB / 1.098 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=23): time 4.749e-06/0.9706, allocations: 0 / 1.098 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23): time 0.000923/0.9716, allocations: 356 kB / 1.099 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.5e-05/0.9716, allocations: 106.7 kB / 1.099 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005889/0.9722, allocations: 454.6 kB / 1.099 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.9723, allocations: 31.39 kB / 1.099 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.9725, allocations: 229.6 kB / 1.1 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.684e-05/0.9726, allocations: 66.11 kB / 1.1 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.9727, allocations: 64.38 kB / 1.1 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.9728, allocations: 350.8 kB / 1.1 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/0.9731, allocations: 86.89 kB / 1.1 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002818/0.9734, allocations: 159.4 kB / 1.1 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004703/0.9739, allocations: 221.1 kB / 1.1 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.9739, allocations: 0 / 1.1 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006405/0.9745, allocations: 304.8 kB / 1.101 GB, free: 13 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.9745, allocations: 6 kB / 1.101 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.9746, allocations: 2.125 kB / 1.101 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.9746, allocations: 2.531 kB / 1.101 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/0.9748, allocations: 54.58 kB / 1.101 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.9749, allocations: 3.281 kB / 1.101 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.9751, allocations: 30.61 kB / 1.101 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.9751, allocations: 11.64 kB / 1.101 GB, free: 12.98 MB / 0.8731 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.0002026/0.9753, allocations: 187.4 kB / 1.101 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.949e-05/0.9754, allocations: 43.42 kB / 1.101 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.9755, allocations: 44.2 kB / 1.101 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.445e-06/0.9755, allocations: 10.28 kB / 1.101 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.9755, allocations: 0 / 1.101 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.9755, allocations: 6.375 kB / 1.101 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004897/0.976, allocations: 413.2 kB / 1.102 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.976, allocations: 4.547 kB / 1.102 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.9763, allocations: 37.92 kB / 1.102 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.9763, allocations: 2.031 kB / 1.102 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.9763, allocations: 11.33 kB / 1.102 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.9763, allocations: 1.812 kB / 1.102 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.9763, allocations: 0 / 1.102 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009159/0.9772, allocations: 427.8 kB / 1.102 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.9774, allocations: 140.7 kB / 1.102 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.297e-05/0.9775, allocations: 6.625 kB / 1.102 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.9776, allocations: 14.59 kB / 1.102 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.834e-05/0.9777, allocations: 23.09 kB / 1.102 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/0.9777, allocations: 7.531 kB / 1.102 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004157/0.9782, allocations: 317.8 kB / 1.102 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9782, allocations: 0 / 1.102 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003931/0.9786, allocations: 73.81 kB / 1.103 GB, free: 11.92 MB / 0.8731 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.00106/0.9796, allocations: 429 kB / 1.103 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006848/0.9803, allocations: 228.5 kB / 1.103 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.9803, allocations: 0.5312 kB / 1.103 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002881/0.9806, allocations: 111.2 kB / 1.103 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005639/0.9812, allocations: 113.1 kB / 1.103 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.9825, allocations: 0.6828 MB / 1.104 GB, free: 11.17 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.9829, allocations: 0.8115 MB / 1.105 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002026/0.9831, allocations: 54.44 kB / 1.105 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.004e-05/0.9832, allocations: 37.81 kB / 1.105 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of SimCode: time 6.31e-07/0.9832, allocations: 0 / 1.105 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of Templates: time 0.01136/0.9946, allocations: 4.794 MB / 1.11 GB, free: 10.05 MB / 0.8731 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches