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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 78.95 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002013/0.002013, allocations: 158.8 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.936/2.936, allocations: 394.2 MB / 0.6387 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00349/0.00349, allocations: 71.83 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.921/0.9245, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004189/0.9287, allocations: 2.786 MB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002591/0.9313, allocations: 1.62 MB / 1.191 GB, free: 13.26 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000246/0.9315, allocations: 16.47 kB / 1.191 GB, free: 13.25 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000403/0.9319, allocations: 104.4 kB / 1.191 GB, free: 13.19 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0004265/0.9323, allocations: 189.5 kB / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007873/0.9331, allocations: 400.9 kB / 1.192 GB, free: 12.85 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005262/0.9336, allocations: 0.5465 MB / 1.192 GB, free: 12.56 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002406/0.9339, allocations: 128.7 kB / 1.192 GB, free: 12.48 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003184/0.9342, allocations: 229.7 kB / 1.192 GB, free: 12.36 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.9345, allocations: 183.4 kB / 1.193 GB, free: 12.27 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.778e-05/0.9345, allocations: 42.16 kB / 1.193 GB, free: 12.27 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00023/0.9347, allocations: 113.8 kB / 1.193 GB, free: 12.25 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.9349, allocations: 108.4 kB / 1.193 GB, free: 12.18 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.935, allocations: 172.2 kB / 1.193 GB, free: 12.06 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0007265/0.9358, allocations: 0.6185 MB / 1.194 GB, free: 11.79 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.9358, allocations: 5.094 kB / 1.194 GB, free: 11.79 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.252e-06/0.9358, allocations: 0 / 1.194 GB, free: 11.79 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.9358, allocations: 0 / 1.194 GB, free: 11.79 MB / 1.076 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.001171/0.9369, allocations: 0.735 MB / 1.194 GB, free: 11.23 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.937, allocations: 13.31 kB / 1.194 GB, free: 11.22 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002761/0.9373, allocations: 71.56 kB / 1.194 GB, free: 11.2 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006394/0.9379, allocations: 399.4 kB / 1.195 GB, free: 10.92 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.9379, allocations: 24.84 kB / 1.195 GB, free: 10.91 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.756e-05/0.938, allocations: 30.7 kB / 1.195 GB, free: 10.89 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005669/0.9385, allocations: 373.2 kB / 1.195 GB, free: 10.66 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.9386, allocations: 3.938 kB / 1.195 GB, free: 10.65 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.823e-05/0.9386, allocations: 10.59 kB / 1.195 GB, free: 10.64 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.9386, allocations: 7.531 kB / 1.195 GB, free: 10.64 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005073/0.9391, allocations: 216.3 kB / 1.195 GB, free: 10.57 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.9403, allocations: 0.9442 MB / 1.196 GB, free: 9.867 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006122/0.9409, allocations: 222.8 kB / 1.197 GB, free: 9.773 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.9411, allocations: 108.3 kB / 1.197 GB, free: 9.727 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.9411, allocations: 6.734 kB / 1.197 GB, free: 9.723 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003285/0.9415, allocations: 149.6 kB / 1.197 GB, free: 9.645 MB / 1.076 GB Notification: Performance of pre-optimization done (n=23): time 1.974e-06/0.9415, allocations: 4 kB / 1.197 GB, free: 9.641 MB / 1.076 GB Notification: Performance of matching and sorting (n=23): time 0.0008237/0.9423, allocations: 364.1 kB / 1.197 GB, free: 9.484 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.9423, allocations: 84.5 kB / 1.197 GB, free: 9.387 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004989/0.9428, allocations: 439.5 kB / 1.198 GB, free: 9.176 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.9428, allocations: 32.55 kB / 1.198 GB, free: 9.141 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.943, allocations: 244.3 kB / 1.198 GB, free: 8.941 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.868e-05/0.943, allocations: 74.16 kB / 1.198 GB, free: 8.883 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.794e-05/0.9431, allocations: 64.05 kB / 1.198 GB, free: 8.84 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.905e-05/0.9432, allocations: 350.7 kB / 1.198 GB, free: 8.512 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/0.9434, allocations: 87.83 kB / 1.199 GB, free: 8.48 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002611/0.9437, allocations: 208.8 kB / 1.199 GB, free: 8.316 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004328/0.9441, allocations: 223.2 kB / 1.199 GB, free: 8.191 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.9441, allocations: 0 / 1.199 GB, free: 8.191 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000565/0.9447, allocations: 300.5 kB / 1.199 GB, free: 8.055 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.9447, allocations: 10.34 kB / 1.199 GB, free: 8.051 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.9447, allocations: 5.828 kB / 1.199 GB, free: 8.047 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.9447, allocations: 2.219 kB / 1.199 GB, free: 8.047 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.945, allocations: 51.27 kB / 1.199 GB, free: 8.043 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.945, allocations: 8.031 kB / 1.199 GB, free: 8.039 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.9452, allocations: 24.41 kB / 1.199 GB, free: 8.027 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.9452, allocations: 12.52 kB / 1.199 GB, free: 8.023 MB / 1.076 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.0001517/0.9453, allocations: 173 kB / 1.2 GB, free: 7.879 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.608e-05/0.9454, allocations: 46.66 kB / 1.2 GB, free: 7.852 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006284/0.946, allocations: 298.6 kB / 1.2 GB, free: 7.715 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.946, allocations: 2.656 kB / 1.2 GB, free: 7.715 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.946, allocations: 1.828 kB / 1.2 GB, free: 7.715 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.946, allocations: 1.453 kB / 1.2 GB, free: 7.715 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003507/0.9464, allocations: 303.7 kB / 1.2 GB, free: 7.512 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.9464, allocations: 1.062 kB / 1.2 GB, free: 7.512 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.9466, allocations: 39.52 kB / 1.2 GB, free: 7.508 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.9466, allocations: 4.969 kB / 1.2 GB, free: 7.504 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.9466, allocations: 11.8 kB / 1.2 GB, free: 7.496 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.9466, allocations: 1.094 kB / 1.2 GB, free: 7.496 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.9466, allocations: 0 / 1.2 GB, free: 7.496 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008603/0.9475, allocations: 432.1 kB / 1.201 GB, free: 7.285 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.9476, allocations: 68.06 kB / 1.201 GB, free: 7.242 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.964e-05/0.9477, allocations: 10.81 kB / 1.201 GB, free: 7.234 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.9478, allocations: 13.52 kB / 1.201 GB, free: 7.23 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.464e-05/0.9479, allocations: 20.42 kB / 1.201 GB, free: 7.227 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.9479, allocations: 12.52 kB / 1.201 GB, free: 7.223 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003381/0.9483, allocations: 312.7 kB / 1.201 GB, free: 7.074 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9483, allocations: 3.938 kB / 1.201 GB, free: 7.07 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003653/0.9486, allocations: 82.83 kB / 1.201 GB, free: 7.047 MB / 1.076 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 (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.00168/0.9503, allocations: 463.2 kB / 1.202 GB, free: 6.844 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005746/0.9509, allocations: 218.3 kB / 1.202 GB, free: 6.773 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.9509, allocations: 0 / 1.202 GB, free: 6.773 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002515/0.9511, allocations: 107.6 kB / 1.202 GB, free: 6.742 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005324/0.9517, allocations: 109.8 kB / 1.202 GB, free: 6.699 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.9528, allocations: 0.7074 MB / 1.203 GB, free: 6.273 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.953, allocations: 217.2 kB / 1.203 GB, free: 6.172 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001838/0.9532, allocations: 49.86 kB / 1.203 GB, free: 6.164 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.652e-05/0.9533, allocations: 42.77 kB / 1.203 GB, free: 6.148 MB / 1.076 GB Notification: Performance of SimCode: time 4.31e-07/0.9533, allocations: 4 kB / 1.203 GB, free: 6.145 MB / 1.076 GB Notification: Performance of Templates: time 0.01102/0.9643, allocations: 4.924 MB / 1.208 GB, free: 5.547 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.108760194969364]