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.001536/0.001536, allocations: 76.3 kB / 19.18 MB, free: 2.531 MB / 14.72 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.001954/0.001954, allocations: 174.3 kB / 22.46 MB, free: 5.355 MB / 14.72 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.487/1.487, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 2.875/2.875, allocations: 389 MB / 0.633 GB, free: 1.027 MB / 0.5919 GB " [Timeout remaining time 176] 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.673e-06/1.673e-06, allocations: 0 / 1 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/2.939e-05, allocations: 6.281 kB / 1 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004951/0.004981, allocations: 2.786 MB / 1.003 GB, free: 4.504 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003597/0.008578, allocations: 1.628 MB / 1.004 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000392/0.00897, allocations: 15.88 kB / 1.004 GB, free: 2.855 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004797/0.00945, allocations: 111.1 kB / 1.005 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0006089/0.01006, allocations: 190.7 kB / 1.005 GB, free: 2.559 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.01113, allocations: 404.8 kB / 1.005 GB, free: 2.168 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0007499/0.01188, allocations: 0.5576 MB / 1.006 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003085/0.01219, allocations: 133.7 kB / 1.006 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004928/0.01268, allocations: 303.1 kB / 1.006 GB, free: 1.172 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002581/0.01294, allocations: 155.5 kB / 1.006 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.112e-05/0.01301, allocations: 40 kB / 1.006 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002502/0.01326, allocations: 115.8 kB / 1.006 GB, free: 0.8672 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.01342, allocations: 107.6 kB / 1.006 GB, free: 0.7617 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.01359, allocations: 127.5 kB / 1.007 GB, free: 0.6367 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008213/0.01441, allocations: 0.6268 MB / 1.007 GB, free: 8 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.01442, allocations: 4 kB / 1.007 GB, free: 4 kB / 0.9512 GB Notification: Performance of FrontEnd: time 2.014e-06/0.01442, allocations: 0 / 1.007 GB, free: 4 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.526e-05/0.01444, allocations: 4 kB / 1.007 GB, free: 0 / 0.9512 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.001388/0.01582, allocations: 0.7358 MB / 1.008 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.01586, allocations: 12.03 kB / 1.008 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003155/0.01618, allocations: 76.55 kB / 1.008 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00083/0.01701, allocations: 390.9 kB / 1.008 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.01704, allocations: 21.03 kB / 1.008 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.76e-05/0.0171, allocations: 28.38 kB / 1.008 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007317/0.01783, allocations: 375.8 kB / 1.009 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.01785, allocations: 4 kB / 1.009 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.26e-05/0.01789, allocations: 16 kB / 1.009 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.0179, allocations: 8 kB / 1.009 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005528/0.01845, allocations: 209.8 kB / 1.009 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.0199, allocations: 0.9297 MB / 1.01 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006604/0.02056, allocations: 237.2 kB / 1.01 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000264/0.02082, allocations: 108.8 kB / 1.01 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.02085, allocations: 4 kB / 1.01 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004304/0.02128, allocations: 151.3 kB / 1.01 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=23): time 2.174e-06/0.02128, allocations: 0 / 1.01 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of matching and sorting (n=23): time 0.0009644/0.02225, allocations: 363.6 kB / 1.011 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.799e-05/0.02231, allocations: 81.11 kB / 1.011 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005692/0.02288, allocations: 445.8 kB / 1.011 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/0.02292, allocations: 29.7 kB / 1.011 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.02313, allocations: 244.5 kB / 1.012 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.603e-05/0.02321, allocations: 75.38 kB / 1.012 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.02331, allocations: 53.69 kB / 1.012 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001957/0.02351, allocations: 354.8 kB / 1.012 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/0.02379, allocations: 87.95 kB / 1.012 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003182/0.0241, allocations: 206.2 kB / 1.012 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005069/0.02461, allocations: 224 kB / 1.012 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.02461, allocations: 4 kB / 1.012 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006915/0.02531, allocations: 297 kB / 1.013 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.02532, allocations: 4 kB / 1.013 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.02533, allocations: 4 kB / 1.013 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.02535, allocations: 3.938 kB / 1.013 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/0.02566, allocations: 60.06 kB / 1.013 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.02567, allocations: 7.984 kB / 1.013 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000201/0.02587, allocations: 23.83 kB / 1.013 GB, free: 9.934 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.0259, allocations: 11.98 kB / 1.013 GB, free: 9.922 MB / 0.9669 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.0002268/0.02612, allocations: 174.9 kB / 1.013 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.87e-05/0.0262, allocations: 43.7 kB / 1.013 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007477/0.02695, allocations: 297.3 kB / 1.013 GB, free: 9.402 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.138e-06/0.02696, allocations: 7.875 kB / 1.013 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.02696, allocations: 0 / 1.013 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.02697, allocations: 0 / 1.013 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000375/0.02734, allocations: 309 kB / 1.014 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.02735, allocations: 0 / 1.014 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002424/0.02759, allocations: 43.91 kB / 1.014 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.02759, allocations: 0 / 1.014 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.02761, allocations: 4 kB / 1.014 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.02762, allocations: 0 / 1.014 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.02762, allocations: 11.88 kB / 1.014 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009618/0.02858, allocations: 431.2 kB / 1.014 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.02874, allocations: 63.66 kB / 1.014 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.948e-05/0.0288, allocations: 11.98 kB / 1.014 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.02898, allocations: 15.92 kB / 1.014 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.584e-05/0.02906, allocations: 23.91 kB / 1.014 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/0.02909, allocations: 12.06 kB / 1.014 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004048/0.0295, allocations: 319.1 kB / 1.015 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.0295, allocations: 0 / 1.015 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003878/0.02988, allocations: 79.78 kB / 1.015 GB, free: 8.059 MB / 0.9669 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.001804/0.03169, allocations: 452 kB / 1.015 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006441/0.03233, allocations: 223.9 kB / 1.015 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.03233, allocations: 0 / 1.015 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000281/0.03261, allocations: 105.1 kB / 1.015 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006576/0.03327, allocations: 108.2 kB / 1.015 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.03477, allocations: 0.7031 MB / 1.016 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.03504, allocations: 211.4 kB / 1.016 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002025/0.03524, allocations: 51.25 kB / 1.016 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.03537, allocations: 36.48 kB / 1.016 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of SimCode: time 5.71e-07/0.03537, allocations: 0 / 1.016 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of Templates: time 0.01344/0.04881, allocations: 4.892 MB / 1.021 GB, free: 1.551 MB / 0.9669 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: 8.317586001008749]