Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001952/0.001952, allocations: 80.09 kB / 19.18 MB, free: 2.523 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.002399/0.002399, allocations: 168.7 kB / 22.46 MB, free: 5.371 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.619/1.619, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.734/2.734, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.9509 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.819e-05/2.947e-05, allocations: 6.219 kB / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004621/0.004651, allocations: 2.801 MB / 0.9537 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003196/0.007846, allocations: 1.617 MB / 0.9553 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003122/0.008159, allocations: 15.88 kB / 0.9553 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004422/0.008601, allocations: 115 kB / 0.9554 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005945/0.009195, allocations: 190.8 kB / 0.9556 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.01026, allocations: 403 kB / 0.956 GB, free: 6.449 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007476/0.01101, allocations: 0.5498 MB / 0.9565 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000312/0.01132, allocations: 133.8 kB / 0.9566 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005445/0.01187, allocations: 307.1 kB / 0.9569 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002978/0.01216, allocations: 151.5 kB / 0.9571 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.035e-05/0.01224, allocations: 44 kB / 0.9571 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002324/0.01248, allocations: 111.8 kB / 0.9572 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.01262, allocations: 107.6 kB / 0.9573 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001684/0.01278, allocations: 131.5 kB / 0.9574 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008008/0.01359, allocations: 0.6268 MB / 0.958 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.01359, allocations: 0 / 0.958 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.042e-06/0.01359, allocations: 0 / 0.958 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.935e-05/0.01361, allocations: 0 / 0.958 GB, free: 4.297 MB / 0.8575 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.001521/0.01513, allocations: 0.7475 MB / 0.9588 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.01517, allocations: 8.031 kB / 0.9588 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000335/0.01551, allocations: 68.59 kB / 0.9589 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000845/0.01635, allocations: 394.9 kB / 0.9592 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.431e-05/0.01639, allocations: 21.03 kB / 0.9592 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.15e-05/0.01645, allocations: 24.38 kB / 0.9593 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007337/0.01718, allocations: 383.8 kB / 0.9596 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.0172, allocations: 0 / 0.9596 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.685e-05/0.01723, allocations: 8 kB / 0.9596 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.01724, allocations: 12 kB / 0.9597 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000556/0.0178, allocations: 209.8 kB / 0.9599 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00139/0.01919, allocations: 0.9414 MB / 0.9608 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000672/0.01986, allocations: 230.8 kB / 0.961 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/0.02013, allocations: 112.7 kB / 0.9611 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.02015, allocations: 4 kB / 0.9611 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000387/0.02054, allocations: 152.3 kB / 0.9613 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=23): time 1.763e-06/0.02054, allocations: 0 / 0.9613 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of matching and sorting (n=23): time 0.0009265/0.02147, allocations: 363.8 kB / 0.9616 GB, free: 500 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.847e-05/0.02154, allocations: 85.09 kB / 0.9617 GB, free: 396 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005471/0.02209, allocations: 441.9 kB / 0.9621 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.02213, allocations: 33.7 kB / 0.9621 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/0.02233, allocations: 240.5 kB / 0.9624 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.963e-05/0.0224, allocations: 71.39 kB / 0.9624 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.0225, allocations: 57.69 kB / 0.9625 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.02267, allocations: 346.8 kB / 0.9628 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002437/0.02291, allocations: 83.95 kB / 0.9629 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003293/0.02324, allocations: 210.7 kB / 0.9631 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005165/0.02376, allocations: 223.6 kB / 0.9633 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.02376, allocations: 0 / 0.9633 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006736/0.02443, allocations: 301.1 kB / 0.9636 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.02445, allocations: 8 kB / 0.9636 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.02446, allocations: 0 / 0.9636 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.02448, allocations: 7.938 kB / 0.9636 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.02474, allocations: 51.89 kB / 0.9637 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.02475, allocations: 4 kB / 0.9637 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.02494, allocations: 35.98 kB / 0.9637 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/0.02497, allocations: 12 kB / 0.9637 GB, free: 14.21 MB / 0.8731 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.0002133/0.02518, allocations: 181.7 kB / 0.9639 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.85e-05/0.02525, allocations: 43.72 kB / 0.9639 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000724/0.02597, allocations: 288.1 kB / 0.9642 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.02598, allocations: 11.88 kB / 0.9642 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.02598, allocations: 4 kB / 0.9642 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.02599, allocations: 3.984 kB / 0.9642 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003701/0.02636, allocations: 301.1 kB / 0.9645 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.02636, allocations: 0 / 0.9645 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/0.0266, allocations: 39.91 kB / 0.9645 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.0266, allocations: 4 kB / 0.9645 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.02662, allocations: 4 kB / 0.9646 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.02663, allocations: 0 / 0.9646 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.02663, allocations: 7.938 kB / 0.9646 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009675/0.0276, allocations: 432.6 kB / 0.965 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.02773, allocations: 59.67 kB / 0.965 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.787e-05/0.02779, allocations: 8 kB / 0.965 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.02795, allocations: 15.92 kB / 0.9651 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.604e-05/0.02803, allocations: 19.91 kB / 0.9651 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/0.02807, allocations: 19.92 kB / 0.9651 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003701/0.02844, allocations: 307.1 kB / 0.9654 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/0.02844, allocations: 64 / 0.9654 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003575/0.02879, allocations: 87.78 kB / 0.9655 GB, free: 12.36 MB / 0.8731 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.0018/0.03059, allocations: 463.8 kB / 0.9659 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006336/0.03123, allocations: 213.9 kB / 0.9661 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.03123, allocations: 4 kB / 0.9661 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002922/0.03152, allocations: 112.2 kB / 0.9662 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005879/0.03211, allocations: 111.6 kB / 0.9663 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.03351, allocations: 0.6915 MB / 0.967 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002286/0.03374, allocations: 215.4 kB / 0.9672 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001914/0.03393, allocations: 51.25 kB / 0.9673 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.03404, allocations: 36.48 kB / 0.9673 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of SimCode: time 4.61e-07/0.03405, allocations: 0 / 0.9673 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of Templates: time 0.01144/0.04549, allocations: 4.903 MB / 0.9721 GB, free: 5.852 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.932468965649605]