Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001578/0.001578, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001972/0.001972, allocations: 219.4 kB / 22.26 MB, free: 5.125 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.324/3.324, allocations: 0.4899 GB / 0.7951 GB, free: 33.17 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002067/0.002067, allocations: 78.78 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4778/0.4799, allocations: 176.1 MB / 1.326 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005814/0.4857, allocations: 3.008 MB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004313/0.49, allocations: 1.73 MB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006664/0.4907, allocations: 15.88 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005767/0.4913, allocations: 111.1 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006873/0.4919, allocations: 190.9 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.4933, allocations: 399 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008257/0.4941, allocations: 0.5499 MB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003357/0.4945, allocations: 141.7 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004323/0.4949, allocations: 215.1 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003308/0.4952, allocations: 210.9 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.585e-05/0.4953, allocations: 40 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002856/0.4956, allocations: 115.9 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.4957, allocations: 111.5 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00026/0.496, allocations: 210.8 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009281/0.4969, allocations: 0.6185 MB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.4969, allocations: 0 / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.442e-06/0.4969, allocations: 0 / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.497, allocations: 0 / 1.334 GB, free: 9.785 MB / 1.029 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.001461/0.4984, allocations: 0.7436 MB / 1.334 GB, free: 9.004 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.4985, allocations: 12.03 kB / 1.335 GB, free: 8.992 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003101/0.4988, allocations: 80.53 kB / 1.335 GB, free: 8.914 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008057/0.4996, allocations: 391.6 kB / 1.335 GB, free: 8.504 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/0.4996, allocations: 21.03 kB / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.865e-05/0.4997, allocations: 27.94 kB / 1.335 GB, free: 8.457 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006261/0.5003, allocations: 333 kB / 1.335 GB, free: 8.105 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.5003, allocations: 7.938 kB / 1.335 GB, free: 8.098 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.358e-05/0.5003, allocations: 8 kB / 1.335 GB, free: 8.09 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.5004, allocations: 8 kB / 1.335 GB, free: 8.082 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005074/0.5009, allocations: 217.8 kB / 1.336 GB, free: 7.871 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001685/0.5026, allocations: 1.066 MB / 1.337 GB, free: 6.746 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006635/0.5032, allocations: 224.5 kB / 1.337 GB, free: 6.52 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002607/0.5035, allocations: 104.8 kB / 1.337 GB, free: 6.414 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/0.5035, allocations: 4 kB / 1.337 GB, free: 6.41 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003759/0.5039, allocations: 152.7 kB / 1.337 GB, free: 6.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=23): time 1.513e-06/0.5039, allocations: 0 / 1.337 GB, free: 6.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.000958/0.5049, allocations: 358.6 kB / 1.337 GB, free: 5.895 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.505, allocations: 106.8 kB / 1.338 GB, free: 5.766 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006356/0.5056, allocations: 465.9 kB / 1.338 GB, free: 5.301 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.5056, allocations: 29.7 kB / 1.338 GB, free: 5.266 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/0.5059, allocations: 244.6 kB / 1.338 GB, free: 5.02 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.252e-05/0.506, allocations: 71.39 kB / 1.338 GB, free: 4.949 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.586e-05/0.506, allocations: 53.69 kB / 1.338 GB, free: 4.891 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002372/0.5063, allocations: 358.8 kB / 1.339 GB, free: 4.531 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.5065, allocations: 79.95 kB / 1.339 GB, free: 4.453 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002853/0.5068, allocations: 155.7 kB / 1.339 GB, free: 4.273 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004744/0.5073, allocations: 222.9 kB / 1.339 GB, free: 4.039 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.5073, allocations: 0 / 1.339 GB, free: 4.039 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006162/0.5079, allocations: 314.8 kB / 1.339 GB, free: 3.727 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/0.5079, allocations: 4 kB / 1.339 GB, free: 3.723 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.5079, allocations: 4 kB / 1.339 GB, free: 3.719 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/0.5079, allocations: 0 / 1.339 GB, free: 3.719 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.5082, allocations: 51.91 kB / 1.339 GB, free: 3.668 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.5082, allocations: 8.156 kB / 1.339 GB, free: 3.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.5084, allocations: 35.77 kB / 1.34 GB, free: 3.625 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.364e-05/0.5084, allocations: 12 kB / 1.34 GB, free: 3.613 MB / 1.029 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.0002387/0.5087, allocations: 182.2 kB / 1.34 GB, free: 3.426 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.098e-05/0.5087, allocations: 47.66 kB / 1.34 GB, free: 3.379 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006874/0.5094, allocations: 287.1 kB / 1.34 GB, free: 3.098 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.5094, allocations: 4 kB / 1.34 GB, free: 3.094 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.5094, allocations: 0 / 1.34 GB, free: 3.094 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.5094, allocations: 3.984 kB / 1.34 GB, free: 3.09 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005297/0.51, allocations: 392.3 kB / 1.34 GB, free: 2.664 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.51, allocations: 7.875 kB / 1.34 GB, free: 2.656 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.5102, allocations: 35.91 kB / 1.34 GB, free: 2.621 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.5102, allocations: 4 kB / 1.34 GB, free: 2.617 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.5102, allocations: 4 kB / 1.34 GB, free: 2.613 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.5102, allocations: 4 kB / 1.34 GB, free: 2.609 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.5102, allocations: 4 kB / 1.34 GB, free: 2.605 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009066/0.5111, allocations: 417.7 kB / 1.341 GB, free: 2.18 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.5113, allocations: 75.58 kB / 1.341 GB, free: 2.105 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.773e-05/0.5114, allocations: 15.97 kB / 1.341 GB, free: 2.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.5115, allocations: 8.062 kB / 1.341 GB, free: 2.082 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.367e-05/0.5116, allocations: 27.95 kB / 1.341 GB, free: 2.055 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.5116, allocations: 8 kB / 1.341 GB, free: 2.047 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004305/0.512, allocations: 327.1 kB / 1.341 GB, free: 1.73 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.512, allocations: 0 / 1.341 GB, free: 1.73 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003624/0.5124, allocations: 71.89 kB / 1.341 GB, free: 1.66 MB / 1.029 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 (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.001786/0.5142, allocations: 436.5 kB / 1.342 GB, free: 1.387 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005961/0.5148, allocations: 213 kB / 1.342 GB, free: 1.18 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5148, allocations: 0 / 1.342 GB, free: 1.18 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002635/0.5151, allocations: 103.9 kB / 1.342 GB, free: 1.078 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000572/0.5156, allocations: 121.7 kB / 1.342 GB, free: 0.9648 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.5172, allocations: 0.7032 MB / 1.343 GB, free: 236 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006344/0.5179, allocations: 0.8148 MB / 1.344 GB, free: 15.38 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001882/0.5181, allocations: 55.25 kB / 1.344 GB, free: 15.33 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.5182, allocations: 35.42 kB / 1.344 GB, free: 15.3 MB / 1.045 GB Notification: Performance of SimCode: time 8.52e-07/0.5182, allocations: 0 / 1.344 GB, free: 15.3 MB / 1.045 GB Notification: Performance of Templates: time 0.0128/0.531, allocations: 4.973 MB / 1.349 GB, free: 10.41 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.864511664956808]