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.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.001639/0.001639, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.001823/0.001823, allocations: 190 kB / 22.1 MB, free: 5.148 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.395/1.395, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.045/3.045, allocations: 495.8 MB / 0.783 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 69.58 kB / 1.137 GB, free: 33.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4352/0.4372, allocations: 173.6 MB / 1.307 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004691/0.4419, allocations: 2.966 MB / 1.31 GB, free: 14.88 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002629/0.4445, allocations: 1.539 MB / 1.311 GB, free: 13.34 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002122/0.4448, allocations: 19.88 kB / 1.311 GB, free: 13.32 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003876/0.4451, allocations: 107.1 kB / 1.311 GB, free: 13.21 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003721/0.4455, allocations: 147 kB / 1.311 GB, free: 13.07 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009231/0.4464, allocations: 422.9 kB / 1.312 GB, free: 12.66 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006394/0.4471, allocations: 0.5381 MB / 1.312 GB, free: 12.12 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002695/0.4474, allocations: 141.7 kB / 1.312 GB, free: 11.98 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003014/0.4477, allocations: 215.1 kB / 1.313 GB, free: 11.77 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002593/0.4479, allocations: 199 kB / 1.313 GB, free: 11.57 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.449e-05/0.448, allocations: 44 kB / 1.313 GB, free: 11.53 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002035/0.4482, allocations: 107.9 kB / 1.313 GB, free: 11.43 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.4483, allocations: 111.6 kB / 1.313 GB, free: 11.32 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001984/0.4485, allocations: 214.7 kB / 1.313 GB, free: 11.11 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007059/0.4492, allocations: 0.5991 MB / 1.314 GB, free: 10.5 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4492, allocations: 0 / 1.314 GB, free: 10.5 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4492, allocations: 0 / 1.314 GB, free: 10.5 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.4492, allocations: 0 / 1.314 GB, free: 10.5 MB / 1.014 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.001297/0.4505, allocations: 0.732 MB / 1.315 GB, free: 9.734 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.4506, allocations: 12.92 kB / 1.315 GB, free: 9.723 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.4507, allocations: 56.55 kB / 1.315 GB, free: 9.668 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006965/0.4514, allocations: 383.7 kB / 1.315 GB, free: 9.266 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.277e-05/0.4514, allocations: 21.03 kB / 1.315 GB, free: 9.246 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.544e-05/0.4515, allocations: 35.94 kB / 1.315 GB, free: 9.211 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006008/0.4521, allocations: 325 kB / 1.315 GB, free: 8.863 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.4521, allocations: 0 / 1.315 GB, free: 8.863 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.823e-05/0.4521, allocations: 12 kB / 1.315 GB, free: 8.852 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.4521, allocations: 8 kB / 1.315 GB, free: 8.844 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004883/0.4526, allocations: 213.8 kB / 1.316 GB, free: 8.633 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.4541, allocations: 1.062 MB / 1.317 GB, free: 7.512 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006475/0.4547, allocations: 226.1 kB / 1.317 GB, free: 7.285 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002458/0.455, allocations: 104.8 kB / 1.317 GB, free: 7.18 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.455, allocations: 4 kB / 1.317 GB, free: 7.176 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003491/0.4553, allocations: 156.1 kB / 1.317 GB, free: 7.012 MB / 1.014 GB Notification: Performance of pre-optimization done (n=23): time 1.703e-06/0.4553, allocations: 0 / 1.317 GB, free: 7.012 MB / 1.014 GB Notification: Performance of matching and sorting (n=23): time 0.0008521/0.4562, allocations: 360.1 kB / 1.317 GB, free: 6.656 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.491e-05/0.4563, allocations: 106.8 kB / 1.318 GB, free: 6.527 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005551/0.4568, allocations: 453.9 kB / 1.318 GB, free: 6.07 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.4569, allocations: 29.7 kB / 1.318 GB, free: 6.035 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002043/0.4571, allocations: 240.6 kB / 1.318 GB, free: 5.797 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.677e-05/0.4571, allocations: 67.39 kB / 1.318 GB, free: 5.73 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.961e-05/0.4572, allocations: 61.64 kB / 1.318 GB, free: 5.664 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.4574, allocations: 354.8 kB / 1.319 GB, free: 5.309 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/0.4577, allocations: 87.95 kB / 1.319 GB, free: 5.223 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.4579, allocations: 155.7 kB / 1.319 GB, free: 5.043 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004848/0.4584, allocations: 231.4 kB / 1.319 GB, free: 4.801 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4584, allocations: 4 kB / 1.319 GB, free: 4.797 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006267/0.4591, allocations: 305 kB / 1.319 GB, free: 4.492 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.4591, allocations: 7.938 kB / 1.319 GB, free: 4.484 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.4591, allocations: 0 / 1.319 GB, free: 4.484 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.4591, allocations: 4 kB / 1.319 GB, free: 4.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/0.4594, allocations: 60.06 kB / 1.32 GB, free: 4.422 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.4594, allocations: 0 / 1.32 GB, free: 4.422 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.4595, allocations: 27.88 kB / 1.32 GB, free: 4.395 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.4596, allocations: 8 kB / 1.32 GB, free: 4.387 MB / 1.014 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.0002127/0.4598, allocations: 182.5 kB / 1.32 GB, free: 4.199 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.228e-05/0.4598, allocations: 47.66 kB / 1.32 GB, free: 4.152 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006562/0.4605, allocations: 289.4 kB / 1.32 GB, free: 3.867 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.4605, allocations: 0 / 1.32 GB, free: 3.867 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4605, allocations: 0 / 1.32 GB, free: 3.867 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.4605, allocations: 3.984 kB / 1.32 GB, free: 3.863 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004501/0.461, allocations: 388.4 kB / 1.32 GB, free: 3.441 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.461, allocations: 3.938 kB / 1.32 GB, free: 3.438 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.4612, allocations: 31.92 kB / 1.32 GB, free: 3.406 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.4612, allocations: 7.984 kB / 1.32 GB, free: 3.398 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.4612, allocations: 4 kB / 1.32 GB, free: 3.395 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.4612, allocations: 8 kB / 1.321 GB, free: 3.387 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.4612, allocations: 0 / 1.321 GB, free: 3.387 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008578/0.4621, allocations: 423.3 kB / 1.321 GB, free: 2.957 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.4622, allocations: 67.64 kB / 1.321 GB, free: 2.891 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.044e-05/0.4622, allocations: 8.062 kB / 1.321 GB, free: 2.883 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.4624, allocations: 15.98 kB / 1.321 GB, free: 2.867 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.719e-05/0.4625, allocations: 23.97 kB / 1.321 GB, free: 2.844 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.478e-05/0.4625, allocations: 7.984 kB / 1.321 GB, free: 2.836 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003758/0.4629, allocations: 319.1 kB / 1.321 GB, free: 2.527 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.4629, allocations: 0 / 1.321 GB, free: 2.527 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003444/0.4632, allocations: 83.77 kB / 1.321 GB, free: 2.445 MB / 1.014 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.001526/0.4648, allocations: 431.5 kB / 1.322 GB, free: 2.176 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005739/0.4653, allocations: 214.9 kB / 1.322 GB, free: 1.969 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4653, allocations: 0 / 1.322 GB, free: 1.969 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002537/0.4656, allocations: 103.9 kB / 1.322 GB, free: 1.867 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005119/0.4661, allocations: 114.3 kB / 1.322 GB, free: 1.754 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.4674, allocations: 0.6894 MB / 1.323 GB, free: 1.035 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004659/0.4679, allocations: 0.8148 MB / 1.324 GB, free: 196 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001767/0.4681, allocations: 55.23 kB / 1.324 GB, free: 140 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.121e-05/0.4682, allocations: 31.44 kB / 1.324 GB, free: 108 kB / 1.014 GB Notification: Performance of SimCode: time 6.51e-07/0.4682, allocations: 0 / 1.324 GB, free: 108 kB / 1.014 GB Notification: Performance of Templates: time 0.01121/0.4794, allocations: 4.931 MB / 1.329 GB, free: 11.27 MB / 1.029 GB " [Timeout remaining time 300] 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: 8.709153541363776]