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.001405/0.001405, allocations: 80.41 kB / 20.23 MB, free: 4.203 MB / 18.57 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.001557/0.001557, allocations: 161.7 kB / 23.54 MB, free: 0.8945 MB / 18.57 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.462/1.462, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.879/2.879, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.6e-05/2.736e-05, allocations: 3.297 kB / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.00504/0.005067, allocations: 2.79 MB / 0.8135 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003257/0.008324, allocations: 1.628 MB / 0.8151 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002385/0.008562, allocations: 15.88 kB / 0.8151 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004209/0.008983, allocations: 104 kB / 0.8152 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005158/0.009499, allocations: 197.9 kB / 0.8154 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009352/0.01043, allocations: 396.3 kB / 0.8158 GB, free: 13 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007196/0.01115, allocations: 0.5537 MB / 0.8163 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003015/0.01146, allocations: 135.5 kB / 0.8165 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004776/0.01193, allocations: 303.1 kB / 0.8168 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002586/0.01219, allocations: 159.4 kB / 0.8169 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.356e-05/0.01227, allocations: 45.09 kB / 0.8169 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002214/0.01249, allocations: 111.9 kB / 0.8171 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.01263, allocations: 103.6 kB / 0.8172 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.01279, allocations: 128.5 kB / 0.8173 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0008413/0.01363, allocations: 0.6307 MB / 0.8179 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.01364, allocations: 0 / 0.8179 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.041e-06/0.01364, allocations: 1.031 kB / 0.8179 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.01365, allocations: 0 / 0.8179 GB, free: 10.85 MB / 0.7761 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.001385/0.01503, allocations: 0.742 MB / 0.8186 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.01507, allocations: 8.031 kB / 0.8186 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003458/0.01541, allocations: 101.8 kB / 0.8187 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007907/0.0162, allocations: 405.2 kB / 0.8191 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.862e-05/0.01624, allocations: 21.03 kB / 0.8191 GB, free: 9.527 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.964e-05/0.0163, allocations: 29 kB / 0.8192 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007337/0.01703, allocations: 380.3 kB / 0.8195 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.01705, allocations: 0.6875 kB / 0.8195 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.554e-05/0.01708, allocations: 12 kB / 0.8195 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.0171, allocations: 12.48 kB / 0.8195 GB, free: 9.07 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007871/0.01788, allocations: 215.4 kB / 0.8197 GB, free: 8.863 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.01939, allocations: 0.9462 MB / 0.8207 GB, free: 7.871 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006914/0.02008, allocations: 228.1 kB / 0.8209 GB, free: 7.641 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002724/0.02035, allocations: 101.7 kB / 0.821 GB, free: 7.539 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.02038, allocations: 6.219 kB / 0.821 GB, free: 7.535 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003883/0.02077, allocations: 163.2 kB / 0.8211 GB, free: 7.363 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=23): time 1.402e-06/0.02077, allocations: 0 / 0.8211 GB, free: 7.363 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23): time 0.0009897/0.02176, allocations: 359 kB / 0.8215 GB, free: 7.012 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.678e-05/0.02183, allocations: 81.11 kB / 0.8216 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005875/0.02241, allocations: 445.8 kB / 0.822 GB, free: 6.473 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.02245, allocations: 29.7 kB / 0.822 GB, free: 6.438 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002224/0.02267, allocations: 236.6 kB / 0.8222 GB, free: 6.203 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.019e-05/0.02275, allocations: 79.41 kB / 0.8223 GB, free: 6.125 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.02286, allocations: 57.66 kB / 0.8224 GB, free: 6.062 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002089/0.02307, allocations: 356 kB / 0.8227 GB, free: 5.707 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000246/0.02331, allocations: 79.95 kB / 0.8228 GB, free: 5.629 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003545/0.02367, allocations: 207.3 kB / 0.823 GB, free: 5.391 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005401/0.02421, allocations: 224.4 kB / 0.8232 GB, free: 5.156 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.02421, allocations: 0 / 0.8232 GB, free: 5.156 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007213/0.02493, allocations: 312.8 kB / 0.8235 GB, free: 4.848 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.02495, allocations: 12.78 kB / 0.8235 GB, free: 4.836 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.02495, allocations: 0 / 0.8235 GB, free: 4.836 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/0.02498, allocations: 9.094 kB / 0.8235 GB, free: 4.828 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.02524, allocations: 51.91 kB / 0.8236 GB, free: 4.777 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.02525, allocations: 4 kB / 0.8236 GB, free: 4.773 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.02544, allocations: 24.88 kB / 0.8236 GB, free: 4.75 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.02547, allocations: 12 kB / 0.8236 GB, free: 4.738 MB / 0.7761 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.0002318/0.0257, allocations: 180.3 kB / 0.8238 GB, free: 4.555 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.911e-05/0.0258, allocations: 51.72 kB / 0.8238 GB, free: 4.504 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007495/0.02655, allocations: 310.1 kB / 0.8241 GB, free: 4.195 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.02656, allocations: 7.938 kB / 0.8241 GB, free: 4.188 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.02656, allocations: 3.25 kB / 0.8241 GB, free: 4.188 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.02656, allocations: 0 / 0.8241 GB, free: 4.188 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004143/0.02698, allocations: 297.1 kB / 0.8244 GB, free: 3.867 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.02698, allocations: 3.984 kB / 0.8244 GB, free: 3.863 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.02721, allocations: 35.98 kB / 0.8245 GB, free: 3.828 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.02721, allocations: 0 / 0.8245 GB, free: 3.828 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.02723, allocations: 7.984 kB / 0.8245 GB, free: 3.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.02723, allocations: 0 / 0.8245 GB, free: 3.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.02724, allocations: 8.844 kB / 0.8245 GB, free: 3.812 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.02825, allocations: 438.5 kB / 0.8249 GB, free: 3.367 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.02839, allocations: 67.66 kB / 0.825 GB, free: 3.301 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.958e-05/0.02844, allocations: 4 kB / 0.825 GB, free: 3.297 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.02861, allocations: 20.23 kB / 0.825 GB, free: 3.277 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.306e-05/0.02871, allocations: 23.89 kB / 0.825 GB, free: 3.254 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.02873, allocations: 8 kB / 0.825 GB, free: 3.246 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004055/0.02914, allocations: 311.1 kB / 0.8253 GB, free: 2.941 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.02914, allocations: 0 / 0.8253 GB, free: 2.941 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003638/0.0295, allocations: 83.81 kB / 0.8254 GB, free: 2.859 MB / 0.7761 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.002037/0.03154, allocations: 467.1 kB / 0.8258 GB, free: 2.582 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006237/0.03216, allocations: 218.3 kB / 0.826 GB, free: 2.371 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.03216, allocations: 0 / 0.826 GB, free: 2.371 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002821/0.03245, allocations: 111.8 kB / 0.8262 GB, free: 2.262 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005857/0.03303, allocations: 113.4 kB / 0.8263 GB, free: 2.16 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.03467, allocations: 0.7013 MB / 0.8269 GB, free: 1.43 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.03492, allocations: 222.9 kB / 0.8272 GB, free: 1.191 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001897/0.03511, allocations: 51.25 kB / 0.8272 GB, free: 1.141 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.03522, allocations: 36.48 kB / 0.8272 GB, free: 1.105 MB / 0.7761 GB Notification: Performance of SimCode: time 6.21e-07/0.03522, allocations: 0 / 0.8272 GB, free: 1.105 MB / 0.7761 GB Notification: Performance of Templates: time 0.0113/0.04652, allocations: 4.949 MB / 0.8321 GB, free: 12.31 MB / 0.7917 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: 7.816368924919516]