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.002462/0.002462, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.002075/0.002075, allocations: 173.2 kB / 22.76 MB, free: 1.66 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 1.53/1.53, allocations: 177.1 MB / 203.1 MB, free: 5.629 MB / 186.7 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 3.365/3.365, allocations: 429.5 MB / 0.6729 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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.512e-06/1.512e-06, allocations: 0 / 0.8774 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.815e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005004/0.005032, allocations: 2.875 MB / 0.8802 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003362/0.008394, allocations: 1.652 MB / 0.8819 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002705/0.008665, allocations: 19.88 kB / 0.8819 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004338/0.009099, allocations: 107.1 kB / 0.882 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0005224/0.009621, allocations: 198.4 kB / 0.8822 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.0108, allocations: 395.9 kB / 0.8825 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0007223/0.01153, allocations: 0.5615 MB / 0.8831 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002932/0.01182, allocations: 126.9 kB / 0.8832 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005151/0.01233, allocations: 307.2 kB / 0.8835 GB, free: 456 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002547/0.01259, allocations: 148.6 kB / 0.8836 GB, free: 308 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 7.768e-05/0.01267, allocations: 44 kB / 0.8837 GB, free: 264 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000229/0.0129, allocations: 109 kB / 0.8838 GB, free: 156 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.01305, allocations: 115.5 kB / 0.8839 GB, free: 40 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001942/0.01325, allocations: 127.5 kB / 0.884 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0008497/0.0141, allocations: 0.6278 MB / 0.8846 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.0141, allocations: 0 / 0.8846 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.133e-06/0.0141, allocations: 0 / 0.8846 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.01411, allocations: 0.625 kB / 0.8846 GB, free: 15.29 MB / 0.8542 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.001493/0.0156, allocations: 0.8805 MB / 0.8855 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.01564, allocations: 12.03 kB / 0.8855 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003221/0.01596, allocations: 89.34 kB / 0.8856 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000759/0.01672, allocations: 416.4 kB / 0.886 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.46e-05/0.01675, allocations: 21.03 kB / 0.886 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.765e-05/0.01681, allocations: 28.38 kB / 0.886 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007071/0.01752, allocations: 400.8 kB / 0.8864 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.01753, allocations: 0.8125 kB / 0.8864 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.595e-05/0.01757, allocations: 12 kB / 0.8864 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.01758, allocations: 8.906 kB / 0.8864 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004945/0.01808, allocations: 197.5 kB / 0.8866 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001798/0.01987, allocations: 1.269 MB / 0.8879 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006196/0.02049, allocations: 223.3 kB / 0.8881 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002425/0.02073, allocations: 103.6 kB / 0.8882 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.367e-05/0.02077, allocations: 4 kB / 0.8882 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003709/0.02114, allocations: 156.6 kB / 0.8883 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=23): time 1.793e-06/0.02114, allocations: 0 / 0.8883 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.0008928/0.02203, allocations: 341 kB / 0.8887 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.044e-05/0.02211, allocations: 77.11 kB / 0.8887 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006986/0.02281, allocations: 0.5456 MB / 0.8893 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.02285, allocations: 29.7 kB / 0.8893 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005248/0.02337, allocations: 319.3 kB / 0.8896 GB, free: 9.973 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.302e-05/0.02346, allocations: 75.39 kB / 0.8897 GB, free: 9.898 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.02359, allocations: 75.34 kB / 0.8897 GB, free: 9.816 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003483/0.02394, allocations: 0.5548 MB / 0.8903 GB, free: 9.25 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.02415, allocations: 75.97 kB / 0.8904 GB, free: 9.176 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003318/0.02449, allocations: 222.1 kB / 0.8906 GB, free: 8.914 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004707/0.02496, allocations: 231.8 kB / 0.8908 GB, free: 8.664 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.02496, allocations: 0 / 0.8908 GB, free: 8.664 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006389/0.0256, allocations: 293.7 kB / 0.8911 GB, free: 8.371 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.02561, allocations: 4 kB / 0.8911 GB, free: 8.367 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.02562, allocations: 0 / 0.8911 GB, free: 8.367 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.02564, allocations: 7.938 kB / 0.8911 GB, free: 8.359 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.02588, allocations: 47.91 kB / 0.8911 GB, free: 8.312 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.02589, allocations: 4 kB / 0.8911 GB, free: 8.309 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.02606, allocations: 27.78 kB / 0.8912 GB, free: 8.281 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.0261, allocations: 15.98 kB / 0.8912 GB, free: 8.266 MB / 0.8542 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.0002295/0.02632, allocations: 213.6 kB / 0.8914 GB, free: 8.047 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.866e-05/0.0264, allocations: 47.72 kB / 0.8914 GB, free: 8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006499/0.02705, allocations: 266.7 kB / 0.8917 GB, free: 7.738 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.02706, allocations: 7.938 kB / 0.8917 GB, free: 7.73 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.02706, allocations: 0 / 0.8917 GB, free: 7.73 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.02707, allocations: 0 / 0.8917 GB, free: 7.73 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005429/0.02761, allocations: 392.4 kB / 0.8921 GB, free: 7.312 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.02762, allocations: 3.984 kB / 0.8921 GB, free: 7.309 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002127/0.02783, allocations: 43.86 kB / 0.8921 GB, free: 7.266 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.02783, allocations: 3.984 kB / 0.8921 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/0.02786, allocations: 8 kB / 0.8921 GB, free: 7.254 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.02786, allocations: 0 / 0.8921 GB, free: 7.254 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.02786, allocations: 7.922 kB / 0.8921 GB, free: 7.246 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008744/0.02874, allocations: 414.1 kB / 0.8925 GB, free: 6.82 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/0.02889, allocations: 63.67 kB / 0.8926 GB, free: 6.758 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.033e-05/0.02894, allocations: 4 kB / 0.8926 GB, free: 6.754 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.02909, allocations: 16.02 kB / 0.8926 GB, free: 6.738 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.407e-05/0.02917, allocations: 23.91 kB / 0.8926 GB, free: 6.715 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.0292, allocations: 11.98 kB / 0.8926 GB, free: 6.703 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004315/0.02963, allocations: 351.1 kB / 0.893 GB, free: 6.359 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.02963, allocations: 0 / 0.893 GB, free: 6.359 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003637/0.03, allocations: 79.78 kB / 0.893 GB, free: 6.281 MB / 0.8542 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.002997/0.033, allocations: 460.5 kB / 0.8935 GB, free: 6.012 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005674/0.03356, allocations: 221.4 kB / 0.8937 GB, free: 5.793 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.03357, allocations: 4 kB / 0.8937 GB, free: 5.789 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002739/0.03384, allocations: 119.5 kB / 0.8938 GB, free: 5.668 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005755/0.03442, allocations: 117.8 kB / 0.8939 GB, free: 5.562 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.03576, allocations: 0.694 MB / 0.8946 GB, free: 4.832 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.036, allocations: 211.1 kB / 0.8948 GB, free: 4.605 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001816/0.03618, allocations: 51.23 kB / 0.8948 GB, free: 4.555 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.03629, allocations: 36.48 kB / 0.8949 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of SimCode: time 4.41e-07/0.03629, allocations: 0 / 0.8949 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of Templates: time 0.01189/0.04817, allocations: 4.93 MB / 0.8997 GB, free: 15.73 MB / 0.8698 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 240] 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.340721945045516]