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.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.0009796/0.0009796, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.000825/0.000825, allocations: 177.9 kB / 23.22 MB, free: 1.352 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 0.9162/0.9162, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.775/1.775, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.804e-06/1.804e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.809e-05/2.99e-05, allocations: 2.281 kB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003652/0.003682, allocations: 2.77 MB / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002116/0.005798, allocations: 1.624 MB / 1.005 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002291/0.006028, allocations: 19.88 kB / 1.005 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0004184/0.006446, allocations: 115 kB / 1.005 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003869/0.006833, allocations: 190.8 kB / 1.005 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005897/0.007422, allocations: 405.4 kB / 1.006 GB, free: 7.895 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004465/0.007869, allocations: 0.5576 MB / 1.006 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002359/0.008105, allocations: 129.7 kB / 1.007 GB, free: 7.199 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000336/0.008441, allocations: 307.1 kB / 1.007 GB, free: 6.898 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.008623, allocations: 147.5 kB / 1.007 GB, free: 6.754 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.235e-05/0.008665, allocations: 44 kB / 1.007 GB, free: 6.711 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.008822, allocations: 111.9 kB / 1.007 GB, free: 6.602 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.008939, allocations: 115.5 kB / 1.007 GB, free: 6.488 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.009042, allocations: 123.6 kB / 1.007 GB, free: 6.367 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0005664/0.009608, allocations: 0.6307 MB / 1.008 GB, free: 5.734 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.009611, allocations: 0 / 1.008 GB, free: 5.734 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.473e-06/0.009612, allocations: 0 / 1.008 GB, free: 5.734 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.009618, allocations: 0 / 1.008 GB, free: 5.734 MB / 0.9636 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.0009533/0.01057, allocations: 0.7457 MB / 1.009 GB, free: 4.953 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.01062, allocations: 9.344 kB / 1.009 GB, free: 4.945 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001912/0.01081, allocations: 80.55 kB / 1.009 GB, free: 4.867 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004901/0.0113, allocations: 379 kB / 1.009 GB, free: 4.469 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/0.01133, allocations: 29.03 kB / 1.009 GB, free: 4.441 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.714e-05/0.01136, allocations: 28.33 kB / 1.009 GB, free: 4.414 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004145/0.01178, allocations: 379.8 kB / 1.01 GB, free: 4.004 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.01179, allocations: 0 / 1.01 GB, free: 4.004 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.01181, allocations: 12 kB / 1.01 GB, free: 3.992 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.01182, allocations: 4 kB / 1.01 GB, free: 3.988 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003014/0.01212, allocations: 217.8 kB / 1.01 GB, free: 3.777 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.01322, allocations: 0.9336 MB / 1.011 GB, free: 2.797 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004024/0.01363, allocations: 226.8 kB / 1.011 GB, free: 2.566 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.01376, allocations: 108.8 kB / 1.011 GB, free: 2.457 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.01379, allocations: 0 / 1.011 GB, free: 2.457 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000224/0.01401, allocations: 159.9 kB / 1.011 GB, free: 2.289 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=23): time 1.303e-06/0.01401, allocations: 0 / 1.011 GB, free: 2.289 MB / 0.9636 GB Notification: Performance of matching and sorting (n=23): time 0.0005397/0.01455, allocations: 358.7 kB / 1.012 GB, free: 1.934 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.0146, allocations: 85.09 kB / 1.012 GB, free: 1.832 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003271/0.01493, allocations: 445.9 kB / 1.012 GB, free: 1.391 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.01495, allocations: 29.7 kB / 1.012 GB, free: 1.355 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.01508, allocations: 252.5 kB / 1.012 GB, free: 1.102 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.577e-05/0.01513, allocations: 71.39 kB / 1.012 GB, free: 1.031 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.271e-05/0.01519, allocations: 57.62 kB / 1.012 GB, free: 0.9688 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.0153, allocations: 354.8 kB / 1.013 GB, free: 0.6133 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.01543, allocations: 79.95 kB / 1.013 GB, free: 0.5352 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.0156, allocations: 206.2 kB / 1.013 GB, free: 304 kB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002678/0.01587, allocations: 223.2 kB / 1.013 GB, free: 64 kB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.01587, allocations: 0 / 1.013 GB, free: 64 kB / 0.9636 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000373/0.01624, allocations: 306.9 kB / 1.014 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.01626, allocations: 4 kB / 1.014 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.01626, allocations: 4 kB / 1.014 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.01628, allocations: 3.938 kB / 1.014 GB, free: 15.74 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.01641, allocations: 55.91 kB / 1.014 GB, free: 15.69 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.01642, allocations: 3.984 kB / 1.014 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.199e-05/0.0165, allocations: 23.89 kB / 1.014 GB, free: 15.66 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.01652, allocations: 15.97 kB / 1.014 GB, free: 15.64 MB / 0.9792 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.0001446/0.01666, allocations: 182.7 kB / 1.014 GB, free: 15.46 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.441e-05/0.0167, allocations: 47.72 kB / 1.014 GB, free: 15.41 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003904/0.01709, allocations: 288.5 kB / 1.014 GB, free: 15.13 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.01709, allocations: 7.938 kB / 1.014 GB, free: 15.12 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.0171, allocations: 0 / 1.014 GB, free: 15.12 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.0171, allocations: 0 / 1.014 GB, free: 15.12 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.01733, allocations: 305 kB / 1.014 GB, free: 14.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.01734, allocations: 4 kB / 1.014 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.01745, allocations: 47.91 kB / 1.014 GB, free: 14.75 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.01745, allocations: 0 / 1.014 GB, free: 14.75 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.01747, allocations: 3.938 kB / 1.014 GB, free: 14.74 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01747, allocations: 4 kB / 1.014 GB, free: 14.74 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.01747, allocations: 3.938 kB / 1.014 GB, free: 14.73 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005131/0.01798, allocations: 432.5 kB / 1.015 GB, free: 14.29 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 8.37e-05/0.01807, allocations: 63.72 kB / 1.015 GB, free: 14.23 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.298e-05/0.0181, allocations: 8 kB / 1.015 GB, free: 14.22 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.245e-05/0.01817, allocations: 15.98 kB / 1.015 GB, free: 14.21 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.234e-05/0.01824, allocations: 23.91 kB / 1.015 GB, free: 14.18 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.01825, allocations: 7.938 kB / 1.015 GB, free: 14.18 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002273/0.01848, allocations: 319.1 kB / 1.015 GB, free: 13.87 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.01848, allocations: 0 / 1.015 GB, free: 13.87 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002217/0.0187, allocations: 79.78 kB / 1.015 GB, free: 13.79 MB / 0.9792 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.0008334/0.01954, allocations: 463.4 kB / 1.016 GB, free: 13.51 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.000351/0.01989, allocations: 219.6 kB / 1.016 GB, free: 13.3 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.01989, allocations: 0 / 1.016 GB, free: 13.3 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.02003, allocations: 106.7 kB / 1.016 GB, free: 13.2 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.02037, allocations: 110 kB / 1.016 GB, free: 13.09 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008932/0.02126, allocations: 0.732 MB / 1.017 GB, free: 12.32 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.02159, allocations: 215.4 kB / 1.017 GB, free: 12.09 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.918e-05/0.02167, allocations: 36.48 kB / 1.017 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of SimCode: time 5.41e-07/0.02167, allocations: 4 kB / 1.017 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of Templates: time 0.005849/0.02752, allocations: 5.869 MB / 1.023 GB, free: 6.219 MB / 0.9792 GB " [Timeout remaining time 300] 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: 7.723588598892093]