Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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.001419/0.001419, allocations: 88.72 kB / 19.44 MB, free: 356 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.001642/0.001642, allocations: 157.6 kB / 22.75 MB, free: 1.684 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.554/1.554, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.35/3.35, allocations: 429.6 MB / 0.673 GB, free: 3.922 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.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.8776 GB, free: 6.465 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.654e-05/3.844e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004768/0.004806, allocations: 2.137 MB / 0.8797 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004522/0.009329, allocations: 2.533 MB / 0.8822 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.009486, allocations: 4 kB / 0.8822 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001651/0.01114, allocations: 0.4895 MB / 0.8827 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0005012/0.01164, allocations: 172 kB / 0.8828 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007095/0.01235, allocations: 207.9 kB / 0.883 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006661/0.01301, allocations: 394 kB / 0.8834 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.01315, allocations: 25.28 kB / 0.8834 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002872/0.01343, allocations: 187.4 kB / 0.8836 GB, free: 348 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.01368, allocations: 123.7 kB / 0.8837 GB, free: 224 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.83e-05/0.01372, allocations: 8 kB / 0.8837 GB, free: 216 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000225/0.01394, allocations: 75.88 kB / 0.8838 GB, free: 140 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0002219/0.01417, allocations: 143.4 kB / 0.884 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.01434, allocations: 103.5 kB / 0.8841 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0009848/0.01532, allocations: 0.7007 MB / 0.8847 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.01533, allocations: 0 / 0.8847 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.282e-06/0.01533, allocations: 0 / 0.8847 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.01534, allocations: 0 / 0.8847 GB, free: 15.19 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001565/0.0169, allocations: 0.8623 MB / 0.8856 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.01695, allocations: 8.031 kB / 0.8856 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.01711, allocations: 80.47 kB / 0.8857 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006474/0.01775, allocations: 398.2 kB / 0.886 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.01777, allocations: 4.375 kB / 0.886 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.0178, allocations: 8.375 kB / 0.8861 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003023/0.0181, allocations: 151.2 kB / 0.8862 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.01811, allocations: 3.938 kB / 0.8862 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.01813, allocations: 4 kB / 0.8862 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.01813, allocations: 0 / 0.8862 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.01828, allocations: 47.97 kB / 0.8863 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008846/0.01917, allocations: 468.2 kB / 0.8867 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004599/0.01963, allocations: 106.6 kB / 0.8868 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.917e-05/0.01973, allocations: 32.84 kB / 0.8868 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.01975, allocations: 4 kB / 0.8868 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002433/0.01999, allocations: 113.1 kB / 0.8869 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.163e-06/0.01999, allocations: 0 / 0.8869 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0005407/0.02053, allocations: 201.2 kB / 0.8871 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.645e-05/0.02061, allocations: 85.09 kB / 0.8872 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.02197, allocations: 0.9228 MB / 0.8881 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.022, allocations: 33.7 kB / 0.8881 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003936/0.0224, allocations: 327.9 kB / 0.8885 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.02243, allocations: 15.89 kB / 0.8885 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.263e-05/0.0225, allocations: 29.7 kB / 0.8885 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.02268, allocations: 313.9 kB / 0.8888 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.884e-05/0.02277, allocations: 27.92 kB / 0.8888 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.02294, allocations: 126.8 kB / 0.889 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.02312, allocations: 77.66 kB / 0.889 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.02313, allocations: 4 kB / 0.889 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003504/0.02348, allocations: 173.1 kB / 0.8892 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.0235, allocations: 8 kB / 0.8892 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.02351, allocations: 0 / 0.8892 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.02353, allocations: 3.984 kB / 0.8892 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.238e-05/0.02362, allocations: 16 kB / 0.8892 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.02363, allocations: 4.328 kB / 0.8892 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.02377, allocations: 11.94 kB / 0.8892 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.02378, allocations: 4 kB / 0.8892 GB, free: 10.33 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0004299/0.02421, allocations: 325.6 kB / 0.8896 GB, free: 10 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.02432, allocations: 75.52 kB / 0.8896 GB, free: 9.93 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004325/0.02475, allocations: 192.1 kB / 0.8898 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.02476, allocations: 0 / 0.8898 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.02476, allocations: 0 / 0.8898 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.02476, allocations: 0 / 0.8898 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004478/0.02521, allocations: 337 kB / 0.8901 GB, free: 9.371 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.02521, allocations: 0 / 0.8901 GB, free: 9.371 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.945e-05/0.02528, allocations: 11.94 kB / 0.8901 GB, free: 9.359 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.02528, allocations: 4 kB / 0.8901 GB, free: 9.355 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.0253, allocations: 4 kB / 0.8901 GB, free: 9.352 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.0253, allocations: 3.984 kB / 0.8902 GB, free: 9.348 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.0253, allocations: 4 kB / 0.8902 GB, free: 9.344 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003811/0.02568, allocations: 204.6 kB / 0.8903 GB, free: 9.125 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.02579, allocations: 59.53 kB / 0.8904 GB, free: 9.066 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.992e-05/0.02585, allocations: 8 kB / 0.8904 GB, free: 9.059 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.02599, allocations: 7.984 kB / 0.8904 GB, free: 9.051 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.87e-05/0.02606, allocations: 11.98 kB / 0.8904 GB, free: 9.039 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.02607, allocations: 0 / 0.8904 GB, free: 9.039 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001063/0.02714, allocations: 0.6864 MB / 0.8911 GB, free: 8.359 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.02714, allocations: 4 kB / 0.8911 GB, free: 8.355 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003399/0.02748, allocations: 71.81 kB / 0.8912 GB, free: 8.285 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.002144/0.02962, allocations: 454 kB / 0.8916 GB, free: 8.02 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002704/0.02989, allocations: 67.95 kB / 0.8917 GB, free: 7.953 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.02989, allocations: 0 / 0.8917 GB, free: 7.953 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.03001, allocations: 43.91 kB / 0.8917 GB, free: 7.91 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007776/0.03079, allocations: 192 kB / 0.8919 GB, free: 7.723 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.03276, allocations: 1.158 MB / 0.893 GB, free: 6.531 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005341/0.0333, allocations: 403.5 kB / 0.8934 GB, free: 6.109 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001668/0.03346, allocations: 51.27 kB / 0.8935 GB, free: 6.059 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.902e-05/0.03354, allocations: 28.48 kB / 0.8935 GB, free: 6.031 MB / 0.8542 GB Notification: Performance of SimCode: time 6.31e-07/0.03354, allocations: 0 / 0.8935 GB, free: 6.031 MB / 0.8542 GB Notification: Performance of Templates: time 0.01457/0.04811, allocations: 6.416 MB / 0.8998 GB, free: 15.78 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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.836979686049744]