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.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.001467/0.001467, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.001512/0.001512, allocations: 188.5 kB / 22.22 MB, free: 5.102 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.427/1.427, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.324/3.324, allocations: 0.4893 GB / 0.7884 GB, free: 33.18 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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_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: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 60.62 kB / 1.145 GB, free: 30.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4857/0.4877, allocations: 174.9 MB / 1.316 GB, free: 9.762 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005985/0.4937, allocations: 2.963 MB / 1.319 GB, free: 6.777 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003568/0.4973, allocations: 1.543 MB / 1.32 GB, free: 5.23 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00048/0.4978, allocations: 19.88 kB / 1.32 GB, free: 5.211 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000582/0.4984, allocations: 111.1 kB / 1.321 GB, free: 5.102 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004694/0.4988, allocations: 135.1 kB / 1.321 GB, free: 4.969 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.5001, allocations: 428.2 kB / 1.321 GB, free: 4.555 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0007647/0.5008, allocations: 0.5497 MB / 1.322 GB, free: 4 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003426/0.5012, allocations: 137.7 kB / 1.322 GB, free: 3.859 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003535/0.5015, allocations: 219.1 kB / 1.322 GB, free: 3.645 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003429/0.5019, allocations: 203 kB / 1.322 GB, free: 3.445 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.893e-05/0.5019, allocations: 44 kB / 1.322 GB, free: 3.402 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002714/0.5022, allocations: 99.94 kB / 1.322 GB, free: 3.305 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001547/0.5024, allocations: 111.6 kB / 1.322 GB, free: 3.195 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002484/0.5026, allocations: 206.8 kB / 1.323 GB, free: 2.992 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000926/0.5035, allocations: 0.603 MB / 1.323 GB, free: 2.387 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.5035, allocations: 0 / 1.323 GB, free: 2.387 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5035, allocations: 0 / 1.323 GB, free: 2.387 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.5035, allocations: 0 / 1.323 GB, free: 2.387 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.001468/0.505, allocations: 0.7437 MB / 1.324 GB, free: 1.605 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.5051, allocations: 8.031 kB / 1.324 GB, free: 1.598 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.5052, allocations: 56.56 kB / 1.324 GB, free: 1.543 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007755/0.5059, allocations: 371.8 kB / 1.324 GB, free: 1.156 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.702e-05/0.506, allocations: 25.03 kB / 1.324 GB, free: 1.133 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.461e-05/0.506, allocations: 35.94 kB / 1.324 GB, free: 1.098 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006391/0.5067, allocations: 325 kB / 1.325 GB, free: 0.75 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.5067, allocations: 3.984 kB / 1.325 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.001e-05/0.5067, allocations: 12 kB / 1.325 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.5067, allocations: 12 kB / 1.325 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005101/0.5072, allocations: 209.8 kB / 1.325 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.5088, allocations: 1.062 MB / 1.326 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006507/0.5095, allocations: 218.9 kB / 1.326 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.5097, allocations: 110.5 kB / 1.326 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.253e-05/0.5098, allocations: 3.984 kB / 1.326 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003713/0.5101, allocations: 155.3 kB / 1.326 GB, free: 14.89 MB / 1.029 GB Notification: Performance of pre-optimization done (n=23): time 1.553e-06/0.5101, allocations: 0 / 1.326 GB, free: 14.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.0008766/0.511, allocations: 362.6 kB / 1.327 GB, free: 14.54 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.773e-05/0.5111, allocations: 106.8 kB / 1.327 GB, free: 14.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005634/0.5117, allocations: 449.9 kB / 1.327 GB, free: 13.96 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.5117, allocations: 33.7 kB / 1.327 GB, free: 13.92 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/0.5119, allocations: 236.6 kB / 1.328 GB, free: 13.68 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.087e-05/0.512, allocations: 75.28 kB / 1.328 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.5121, allocations: 57.64 kB / 1.328 GB, free: 13.55 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001964/0.5123, allocations: 358.8 kB / 1.328 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.5125, allocations: 79.95 kB / 1.328 GB, free: 13.11 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002874/0.5128, allocations: 159.7 kB / 1.328 GB, free: 12.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004756/0.5133, allocations: 226.9 kB / 1.328 GB, free: 12.69 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.5133, allocations: 8 kB / 1.328 GB, free: 12.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006299/0.5139, allocations: 298.4 kB / 1.329 GB, free: 12.38 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.5139, allocations: 4 kB / 1.329 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5139, allocations: 0 / 1.329 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.514, allocations: 4 kB / 1.329 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/0.5142, allocations: 60.05 kB / 1.329 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.5142, allocations: 4 kB / 1.329 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.5144, allocations: 31.83 kB / 1.329 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.5144, allocations: 8.047 kB / 1.329 GB, free: 12.27 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.0002362/0.5147, allocations: 186.6 kB / 1.329 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.618e-05/0.5147, allocations: 47.66 kB / 1.329 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006633/0.5154, allocations: 290.2 kB / 1.329 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.5154, allocations: 0 / 1.329 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.5154, allocations: 0 / 1.329 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.5154, allocations: 4 kB / 1.329 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000476/0.5159, allocations: 376.4 kB / 1.33 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.5159, allocations: 3.938 kB / 1.33 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.5161, allocations: 43.91 kB / 1.33 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.5161, allocations: 0 / 1.33 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.5161, allocations: 0 / 1.33 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.5161, allocations: 11.94 kB / 1.33 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.5161, allocations: 0 / 1.33 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008774/0.517, allocations: 425 kB / 1.33 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001731/0.5172, allocations: 71.59 kB / 1.33 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.117e-05/0.5172, allocations: 7.984 kB / 1.33 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.5174, allocations: 16.05 kB / 1.33 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.629e-05/0.5174, allocations: 19.97 kB / 1.33 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.819e-05/0.5175, allocations: 8 kB / 1.33 GB, free: 10.73 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000387/0.5178, allocations: 323.1 kB / 1.331 GB, free: 10.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.5178, allocations: 0 / 1.331 GB, free: 10.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003623/0.5182, allocations: 75.83 kB / 1.331 GB, free: 10.34 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.001594/0.5198, allocations: 431.2 kB / 1.331 GB, free: 10.07 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005698/0.5204, allocations: 215.6 kB / 1.331 GB, free: 9.859 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5204, allocations: 0 / 1.331 GB, free: 9.859 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002455/0.5206, allocations: 99.89 kB / 1.331 GB, free: 9.762 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005682/0.5212, allocations: 123.5 kB / 1.332 GB, free: 9.641 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.5226, allocations: 0.6777 MB / 1.332 GB, free: 8.934 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005094/0.5231, allocations: 0.8148 MB / 1.333 GB, free: 8.09 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001822/0.5233, allocations: 55.25 kB / 1.333 GB, free: 8.035 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.5234, allocations: 39.42 kB / 1.333 GB, free: 7.996 MB / 1.029 GB Notification: Performance of SimCode: time 6.61e-07/0.5234, allocations: 0 / 1.333 GB, free: 7.996 MB / 1.029 GB Notification: Performance of Templates: time 0.01177/0.5352, allocations: 4.927 MB / 1.338 GB, free: 3.16 MB / 1.029 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 -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/jenkins/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.890890053473413]