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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 117 kB / 17.08 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 191.7 kB / 20.03 MB, free: 3.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.898/2.898, allocations: 437.1 MB / 0.7177 GB, free: 4.539 MB / 0.5606 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 63.91 kB / 1.028 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.3885, allocations: 151.6 MB / 1.176 GB, free: 5.887 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005392/0.3939, allocations: 2.935 MB / 1.179 GB, free: 2.918 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003084/0.3971, allocations: 1.508 MB / 1.18 GB, free: 1.406 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003/0.3974, allocations: 15.94 kB / 1.18 GB, free: 1.391 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005152/0.3979, allocations: 107.2 kB / 1.18 GB, free: 1.285 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004283/0.3984, allocations: 135.1 kB / 1.18 GB, free: 1.152 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.3995, allocations: 422.7 kB / 1.181 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0008377/0.4004, allocations: 0.5227 MB / 1.181 GB, free: 224 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004026/0.4008, allocations: 217 kB / 1.182 GB, free: 4 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003439/0.4011, allocations: 195.3 kB / 1.182 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003015/0.4014, allocations: 199 kB / 1.182 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.468e-05/0.4015, allocations: 47.94 kB / 1.182 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002463/0.4018, allocations: 99.83 kB / 1.182 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000168/0.4019, allocations: 103.6 kB / 1.182 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000242/0.4022, allocations: 214.7 kB / 1.182 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009077/0.4031, allocations: 0.5991 MB / 1.183 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.4031, allocations: 4 kB / 1.183 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.615e-06/0.4031, allocations: 4 kB / 1.183 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.4032, allocations: 0 / 1.183 GB, free: 14.55 MB / 0.9356 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.001528/0.4047, allocations: 0.8033 MB / 1.184 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.4048, allocations: 12.03 kB / 1.184 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.4049, allocations: 56.59 kB / 1.184 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.4059, allocations: 438.9 kB / 1.184 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.212e-05/0.406, allocations: 24.88 kB / 1.184 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.547e-05/0.406, allocations: 35.89 kB / 1.184 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007059/0.4068, allocations: 328 kB / 1.185 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.4068, allocations: 7.922 kB / 1.185 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.529e-05/0.4068, allocations: 15.94 kB / 1.185 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.4068, allocations: 4 kB / 1.185 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005349/0.4074, allocations: 214.1 kB / 1.185 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.409, allocations: 1.093 MB / 1.186 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007425/0.4097, allocations: 239 kB / 1.186 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002638/0.41, allocations: 111.4 kB / 1.186 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/0.4101, allocations: 3.938 kB / 1.186 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003748/0.4104, allocations: 159.2 kB / 1.186 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=23): time 1.423e-06/0.4105, allocations: 0 / 1.186 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23): time 0.0009244/0.4114, allocations: 357.1 kB / 1.187 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.293e-05/0.4115, allocations: 102.8 kB / 1.187 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005525/0.4121, allocations: 457.9 kB / 1.187 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/0.4121, allocations: 37.64 kB / 1.187 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.4123, allocations: 228.7 kB / 1.188 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.082e-05/0.4124, allocations: 75.38 kB / 1.188 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.4125, allocations: 61.62 kB / 1.188 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002053/0.4127, allocations: 354.8 kB / 1.188 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.4129, allocations: 83.95 kB / 1.188 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002915/0.4132, allocations: 156.7 kB / 1.188 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005706/0.4138, allocations: 221 kB / 1.188 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4138, allocations: 0 / 1.188 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006197/0.4145, allocations: 307.7 kB / 1.189 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.4145, allocations: 4 kB / 1.189 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-05/0.4146, allocations: 4 kB / 1.189 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.4146, allocations: 0 / 1.189 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/0.4148, allocations: 55.91 kB / 1.189 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/0.4148, allocations: 7.938 kB / 1.189 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.415, allocations: 39.7 kB / 1.189 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.4151, allocations: 8.125 kB / 1.189 GB, free: 8.211 MB / 0.9356 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.0002059/0.4153, allocations: 182.8 kB / 1.189 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.623e-05/0.4153, allocations: 47.66 kB / 1.189 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.471e-05/0.4154, allocations: 51.77 kB / 1.189 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.4155, allocations: 4 kB / 1.189 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4155, allocations: 0 / 1.189 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.4155, allocations: 0 / 1.189 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000441/0.4159, allocations: 409.3 kB / 1.189 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.4159, allocations: 3.938 kB / 1.189 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.4161, allocations: 43.97 kB / 1.19 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4162, allocations: 0 / 1.19 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.4162, allocations: 8 kB / 1.19 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.4162, allocations: 0 / 1.19 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4162, allocations: 3.984 kB / 1.19 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008869/0.4171, allocations: 420.4 kB / 1.19 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.4173, allocations: 152.7 kB / 1.19 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.187e-05/0.4173, allocations: 8 kB / 1.19 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.4175, allocations: 7.984 kB / 1.19 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.152e-05/0.4175, allocations: 15.98 kB / 1.19 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.212e-05/0.4176, allocations: 15.98 kB / 1.19 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003664/0.418, allocations: 315.1 kB / 1.19 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.418, allocations: 0 / 1.19 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003309/0.4183, allocations: 83.77 kB / 1.191 GB, free: 6.387 MB / 0.9356 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.001547/0.4199, allocations: 440.5 kB / 1.191 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005755/0.4204, allocations: 219 kB / 1.191 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4205, allocations: 0 / 1.191 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002606/0.4207, allocations: 116.2 kB / 1.191 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005471/0.4213, allocations: 107.4 kB / 1.191 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.4226, allocations: 0.7256 MB / 1.192 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004808/0.4231, allocations: 0.8148 MB / 1.193 GB, free: 4.09 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.4232, allocations: 39.42 kB / 1.193 GB, free: 4.051 MB / 0.9356 GB Notification: Performance of SimCode: time 4e-07/0.4232, allocations: 0 / 1.193 GB, free: 4.051 MB / 0.9356 GB Notification: Performance of Templates: time 0.00915/0.4324, allocations: 5.668 MB / 1.198 GB, free: 14.43 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 400] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 12.322741367970593]