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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002309/0.002309, allocations: 193.3 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.798/2.798, allocations: 476.7 MB / 0.7645 GB, free: 10.05 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002025/0.002025, allocations: 63.89 kB / 1.109 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7086/0.7106, allocations: 168.7 MB / 1.274 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005055/0.7157, allocations: 2.971 MB / 1.277 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002581/0.7183, allocations: 1.539 MB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002014/0.7185, allocations: 15.94 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003802/0.7189, allocations: 107.1 kB / 1.279 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003702/0.7192, allocations: 147 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009389/0.7202, allocations: 410.8 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005885/0.7208, allocations: 0.5383 MB / 1.28 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002584/0.721, allocations: 135.9 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002749/0.7213, allocations: 207.1 kB / 1.28 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.7216, allocations: 203 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.398e-05/0.7216, allocations: 40 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001913/0.7218, allocations: 103.9 kB / 1.28 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.7219, allocations: 115.5 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.7221, allocations: 198.8 kB / 1.281 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007301/0.7229, allocations: 0.6069 MB / 1.281 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.7229, allocations: 0 / 1.281 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7229, allocations: 0 / 1.281 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.7229, allocations: 4 kB / 1.281 GB, free: 13.16 MB / 0.9825 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.001348/0.7242, allocations: 0.8072 MB / 1.282 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.7243, allocations: 8.031 kB / 1.282 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.7244, allocations: 56.61 kB / 1.282 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007136/0.7251, allocations: 450.7 kB / 1.282 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/0.7251, allocations: 20.94 kB / 1.282 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.666e-05/0.7252, allocations: 31.94 kB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000618/0.7258, allocations: 323.9 kB / 1.283 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.7258, allocations: 0 / 1.283 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.7258, allocations: 12 kB / 1.283 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.7258, allocations: 12 kB / 1.283 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005199/0.7264, allocations: 210.1 kB / 1.283 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.7278, allocations: 1.101 MB / 1.284 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006401/0.7284, allocations: 218.8 kB / 1.284 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002561/0.7287, allocations: 112.8 kB / 1.284 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.7287, allocations: 3.984 kB / 1.284 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003524/0.7291, allocations: 151.3 kB / 1.285 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=23): time 1.734e-06/0.7291, allocations: 4 kB / 1.285 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.0008768/0.73, allocations: 359.9 kB / 1.285 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.676e-05/0.73, allocations: 102.8 kB / 1.285 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005276/0.7306, allocations: 453.8 kB / 1.285 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.533e-05/0.7306, allocations: 33.7 kB / 1.285 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.7308, allocations: 236.6 kB / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.957e-05/0.7309, allocations: 67.39 kB / 1.286 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.837e-05/0.7309, allocations: 61.64 kB / 1.286 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.7311, allocations: 354.8 kB / 1.286 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002486/0.7314, allocations: 87.95 kB / 1.286 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002931/0.7317, allocations: 159.6 kB / 1.286 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004939/0.7321, allocations: 227.5 kB / 1.287 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.7322, allocations: 4 kB / 1.287 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006386/0.7328, allocations: 297 kB / 1.287 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.7328, allocations: 13.48 kB / 1.287 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.7328, allocations: 4 kB / 1.287 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.7328, allocations: 0 / 1.287 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002613/0.7331, allocations: 56.06 kB / 1.287 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.7331, allocations: 8 kB / 1.287 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/0.7333, allocations: 23.88 kB / 1.287 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.7333, allocations: 8 kB / 1.287 GB, free: 6.848 MB / 0.9825 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.0002053/0.7335, allocations: 177.8 kB / 1.287 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.755e-05/0.7336, allocations: 47.66 kB / 1.287 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006772/0.7343, allocations: 295.8 kB / 1.288 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.7343, allocations: 4 kB / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.7343, allocations: 0 / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.7343, allocations: 0 / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004314/0.7347, allocations: 413.3 kB / 1.288 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.7347, allocations: 7.922 kB / 1.288 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/0.7349, allocations: 35.98 kB / 1.288 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.7349, allocations: 0 / 1.288 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.735, allocations: 11.98 kB / 1.288 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.735, allocations: 4 kB / 1.288 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.735, allocations: 3.938 kB / 1.288 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009234/0.7359, allocations: 424.5 kB / 1.288 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.736, allocations: 144.8 kB / 1.289 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.643e-05/0.7361, allocations: 8.062 kB / 1.289 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.7363, allocations: 11.98 kB / 1.289 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.263e-05/0.7363, allocations: 19.97 kB / 1.289 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.7364, allocations: 12 kB / 1.289 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000363/0.7367, allocations: 319.1 kB / 1.289 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7367, allocations: 0 / 1.289 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003338/0.7371, allocations: 79.78 kB / 1.289 GB, free: 4.77 MB / 0.9825 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 (23): * Single equations (assignments): 21 * 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.001547/0.7386, allocations: 435.8 kB / 1.289 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006734/0.7393, allocations: 207 kB / 1.29 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.123e-06/0.7393, allocations: 0 / 1.29 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002734/0.7396, allocations: 111.9 kB / 1.29 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005458/0.7401, allocations: 110.9 kB / 1.29 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.7414, allocations: 0.6959 MB / 1.29 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/0.7418, allocations: 0.8109 MB / 1.291 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001713/0.742, allocations: 63.17 kB / 1.291 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.901e-05/0.7421, allocations: 39.42 kB / 1.291 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.7421, allocations: 0 / 1.291 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of Templates: time 0.01026/0.7523, allocations: 4.865 MB / 1.296 GB, free: 13.65 MB / 0.9981 GB " [Timeout remaining time 299] 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.471257817931473]