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.001201/0.001201, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001329/0.001329, allocations: 178.2 kB / 23.21 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.8764/0.8764, allocations: 177.2 MB / 203.5 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] 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 1.651/1.651, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] 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.133e-06/1.133e-06, allocations: 0 / 0.9517 GB, free: 3.008 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.043e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003312/0.003333, allocations: 2.777 MB / 0.9544 GB, free: 204 kB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001898/0.005231, allocations: 1.64 MB / 0.956 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002027/0.005434, allocations: 15.88 kB / 0.9561 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.00036/0.005794, allocations: 103.2 kB / 0.9562 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0003502/0.006144, allocations: 190.7 kB / 0.9563 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005198/0.006664, allocations: 407.6 kB / 0.9567 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0003997/0.007064, allocations: 0.5537 MB / 0.9573 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.007269, allocations: 137.7 kB / 0.9574 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002938/0.007563, allocations: 295.2 kB / 0.9577 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.00773, allocations: 159.4 kB / 0.9578 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.132e-05/0.007772, allocations: 47.94 kB / 0.9579 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.007917, allocations: 115.8 kB / 0.958 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 9.553e-05/0.008012, allocations: 107.6 kB / 0.9581 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 9.554e-05/0.008108, allocations: 131.5 kB / 0.9582 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.000518/0.008626, allocations: 0.6229 MB / 0.9588 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.008628, allocations: 0 / 0.9588 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.21e-07/0.008628, allocations: 4 kB / 0.9588 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.008634, allocations: 0 / 0.9588 GB, free: 11.69 MB / 0.9167 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.001056/0.00969, allocations: 0.7436 MB / 0.9596 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.009727, allocations: 12.03 kB / 0.9596 GB, free: 10.9 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.009902, allocations: 68.59 kB / 0.9596 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004559/0.01036, allocations: 390.9 kB / 0.96 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.01038, allocations: 24.97 kB / 0.96 GB, free: 10.4 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.01042, allocations: 28.38 kB / 0.9601 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003774/0.01079, allocations: 379.8 kB / 0.9604 GB, free: 9.961 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.01081, allocations: 0 / 0.9604 GB, free: 9.961 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.01083, allocations: 12 kB / 0.9604 GB, free: 9.949 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.01084, allocations: 8 kB / 0.9604 GB, free: 9.941 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/0.01114, allocations: 213.8 kB / 0.9606 GB, free: 9.734 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008641/0.012, allocations: 0.9336 MB / 0.9616 GB, free: 8.754 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003792/0.01238, allocations: 233.8 kB / 0.9618 GB, free: 8.52 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.01251, allocations: 104.8 kB / 0.9619 GB, free: 8.414 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.01253, allocations: 4 kB / 0.9619 GB, free: 8.41 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002106/0.01274, allocations: 159.2 kB / 0.962 GB, free: 8.242 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=23): time 1.413e-06/0.01274, allocations: 0 / 0.962 GB, free: 8.242 MB / 0.9167 GB Notification: Performance of matching and sorting (n=23): time 0.0005096/0.01325, allocations: 356.2 kB / 0.9624 GB, free: 7.891 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.01329, allocations: 77.11 kB / 0.9624 GB, free: 7.797 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003156/0.01361, allocations: 449.8 kB / 0.9629 GB, free: 7.344 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.01363, allocations: 29.7 kB / 0.9629 GB, free: 7.309 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.01376, allocations: 244.6 kB / 0.9631 GB, free: 7.066 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.473e-05/0.0138, allocations: 67.39 kB / 0.9632 GB, free: 7 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-05/0.01387, allocations: 57.69 kB / 0.9633 GB, free: 6.938 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.993e-05/0.01397, allocations: 350.8 kB / 0.9636 GB, free: 6.586 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.01409, allocations: 83.95 kB / 0.9637 GB, free: 6.504 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.01426, allocations: 218 kB / 0.9639 GB, free: 6.254 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/0.01452, allocations: 221.1 kB / 0.9641 GB, free: 6.02 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.01453, allocations: 0 / 0.9641 GB, free: 6.02 MB / 0.9167 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000344/0.01487, allocations: 303.7 kB / 0.9644 GB, free: 5.719 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.01488, allocations: 7.938 kB / 0.9644 GB, free: 5.711 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.01489, allocations: 7.938 kB / 0.9644 GB, free: 5.703 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.01491, allocations: 3.938 kB / 0.9644 GB, free: 5.699 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.01503, allocations: 55.89 kB / 0.9644 GB, free: 5.645 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.01504, allocations: 4 kB / 0.9645 GB, free: 5.641 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.442e-05/0.01512, allocations: 31.77 kB / 0.9645 GB, free: 5.609 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.01514, allocations: 12 kB / 0.9645 GB, free: 5.598 MB / 0.9167 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.00014/0.01528, allocations: 181.9 kB / 0.9647 GB, free: 5.41 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.01531, allocations: 39.72 kB / 0.9647 GB, free: 5.371 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003813/0.01569, allocations: 297.2 kB / 0.965 GB, free: 5.078 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.0157, allocations: 3.938 kB / 0.965 GB, free: 5.074 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.0157, allocations: 0 / 0.965 GB, free: 5.074 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.01571, allocations: 3.984 kB / 0.965 GB, free: 5.07 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.01592, allocations: 309 kB / 0.9653 GB, free: 4.738 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.01592, allocations: 4 kB / 0.9653 GB, free: 4.734 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.01602, allocations: 35.97 kB / 0.9653 GB, free: 4.699 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.01603, allocations: 0 / 0.9653 GB, free: 4.699 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.01604, allocations: 8 kB / 0.9653 GB, free: 4.691 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.01604, allocations: 0 / 0.9653 GB, free: 4.691 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.01605, allocations: 3.938 kB / 0.9653 GB, free: 4.688 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000496/0.01654, allocations: 435.1 kB / 0.9658 GB, free: 4.246 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.132e-05/0.01662, allocations: 67.77 kB / 0.9658 GB, free: 4.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.01665, allocations: 8 kB / 0.9658 GB, free: 4.172 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.93e-05/0.01672, allocations: 11.97 kB / 0.9658 GB, free: 4.16 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.302e-05/0.01678, allocations: 23.91 kB / 0.9659 GB, free: 4.137 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.0168, allocations: 11.98 kB / 0.9659 GB, free: 4.125 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003718/0.01718, allocations: 311.1 kB / 0.9662 GB, free: 3.824 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01718, allocations: 0 / 0.9662 GB, free: 3.824 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002125/0.01739, allocations: 79.78 kB / 0.9662 GB, free: 3.746 MB / 0.9167 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.0007415/0.01813, allocations: 466.8 kB / 0.9667 GB, free: 3.469 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000329/0.01846, allocations: 211.7 kB / 0.9669 GB, free: 3.262 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01846, allocations: 0 / 0.9669 GB, free: 3.262 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.0186, allocations: 110.5 kB / 0.967 GB, free: 3.152 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.01891, allocations: 110.8 kB / 0.9671 GB, free: 3.047 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008168/0.01973, allocations: 0.7243 MB / 0.9678 GB, free: 2.285 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.01986, allocations: 215.4 kB / 0.968 GB, free: 2.051 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.505e-05/0.01994, allocations: 40.48 kB / 0.9681 GB, free: 2.012 MB / 0.9167 GB Notification: Performance of SimCode: time 5.01e-07/0.01994, allocations: 4 kB / 0.9681 GB, free: 2.008 MB / 0.9167 GB Notification: Performance of Templates: time 0.005625/0.02556, allocations: 5.868 MB / 0.9738 GB, free: 12.18 MB / 0.9323 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: 6.953166341409087]