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.001913/0.001913, allocations: 89.47 kB / 19.44 MB, free: 340 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.002103/0.002103, 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.626/1.626, 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.45/3.45, allocations: 429.5 MB / 0.6729 GB, free: 4.02 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 2.003e-06/2.003e-06, allocations: 0 / 0.8775 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.343e-05/3.544e-05, allocations: 2.969 kB / 0.8775 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004618/0.004653, allocations: 2.198 MB / 0.8796 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004782/0.009436, allocations: 2.734 MB / 0.8823 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001668/0.009603, allocations: 11.94 kB / 0.8823 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001652/0.01125, allocations: 497.6 kB / 0.8828 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004493/0.0117, allocations: 171 kB / 0.8829 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006046/0.01231, allocations: 207.3 kB / 0.8831 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0007239/0.01303, allocations: 405.5 kB / 0.8835 GB, free: 452 kB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.01317, allocations: 33.27 kB / 0.8836 GB, free: 416 kB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002865/0.01346, allocations: 171.5 kB / 0.8837 GB, free: 244 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002532/0.01371, allocations: 123.6 kB / 0.8838 GB, free: 120 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.697e-05/0.01376, allocations: 8 kB / 0.8838 GB, free: 112 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002481/0.01401, allocations: 83.75 kB / 0.8839 GB, free: 28 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0002331/0.01424, allocations: 135.5 kB / 0.8841 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.01442, allocations: 103.5 kB / 0.8842 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.01547, allocations: 0.7046 MB / 0.8848 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.01547, allocations: 0 / 0.8848 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.874e-06/0.01547, allocations: 0 / 0.8848 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.01548, allocations: 0 / 0.8848 GB, free: 15.09 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.00177/0.01725, allocations: 1.056 MB / 0.8859 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.0173, allocations: 8.031 kB / 0.8859 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.01745, allocations: 76.47 kB / 0.886 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006745/0.01813, allocations: 385 kB / 0.8863 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.01816, allocations: 12.36 kB / 0.8863 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.01818, allocations: 8.375 kB / 0.8863 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002847/0.01846, allocations: 144.9 kB / 0.8865 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.01847, allocations: 3.938 kB / 0.8865 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.01849, allocations: 8 kB / 0.8865 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.0185, allocations: 0 / 0.8865 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.01862, allocations: 39.91 kB / 0.8865 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/0.02018, allocations: 0.6909 MB / 0.8872 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004046/0.02059, allocations: 99.11 kB / 0.8873 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.144e-05/0.02067, allocations: 31.69 kB / 0.8873 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.02069, allocations: 3.984 kB / 0.8873 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002434/0.02093, allocations: 118.7 kB / 0.8874 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.02094, allocations: 0 / 0.8874 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0004811/0.02142, allocations: 189.1 kB / 0.8876 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.139e-05/0.02149, allocations: 77.11 kB / 0.8877 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/0.02308, allocations: 1.062 MB / 0.8887 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.02311, allocations: 25.7 kB / 0.8888 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000566/0.02367, allocations: 474.7 kB / 0.8892 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.02371, allocations: 19.89 kB / 0.8892 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.586e-05/0.0238, allocations: 39.36 kB / 0.8893 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002831/0.02408, allocations: 488.4 kB / 0.8897 GB, free: 9.836 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.872e-05/0.02416, allocations: 27.98 kB / 0.8898 GB, free: 9.809 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.02431, allocations: 114.1 kB / 0.8899 GB, free: 9.668 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.02446, allocations: 75.23 kB / 0.8899 GB, free: 9.586 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.02446, allocations: 0 / 0.8899 GB, free: 9.586 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003287/0.02479, allocations: 165.2 kB / 0.8901 GB, free: 9.418 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.02481, allocations: 7.938 kB / 0.8901 GB, free: 9.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.02482, allocations: 4 kB / 0.8901 GB, free: 9.406 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.02484, allocations: 4 kB / 0.8901 GB, free: 9.402 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.536e-05/0.02492, allocations: 12 kB / 0.8901 GB, free: 9.391 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.02493, allocations: 4.062 kB / 0.8901 GB, free: 9.387 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.02506, allocations: 11.94 kB / 0.8901 GB, free: 9.375 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.02507, allocations: 0 / 0.8901 GB, free: 9.375 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.0002643/0.02534, allocations: 228.5 kB / 0.8904 GB, free: 9.141 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.582e-05/0.02543, allocations: 75.53 kB / 0.8904 GB, free: 9.066 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003849/0.02582, allocations: 168.4 kB / 0.8906 GB, free: 8.891 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.02582, allocations: 0 / 0.8906 GB, free: 8.891 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.02582, allocations: 0 / 0.8906 GB, free: 8.891 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.02583, allocations: 0 / 0.8906 GB, free: 8.891 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007812/0.02661, allocations: 0.5315 MB / 0.8911 GB, free: 8.324 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.02661, allocations: 4 kB / 0.8911 GB, free: 8.32 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.908e-05/0.02667, allocations: 8 kB / 0.8911 GB, free: 8.312 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.02667, allocations: 0 / 0.8911 GB, free: 8.312 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.02669, allocations: 11.92 kB / 0.8911 GB, free: 8.301 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.02669, allocations: 0 / 0.8911 GB, free: 8.301 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.02669, allocations: 0 / 0.8911 GB, free: 8.301 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003703/0.02706, allocations: 215.9 kB / 0.8913 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.0272, allocations: 67.52 kB / 0.8914 GB, free: 8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.423e-05/0.02725, allocations: 0 / 0.8914 GB, free: 8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.02737, allocations: 4 kB / 0.8914 GB, free: 7.996 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.48e-05/0.02745, allocations: 15.97 kB / 0.8914 GB, free: 7.98 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.02747, allocations: 8 kB / 0.8914 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0009179/0.02839, allocations: 0.6122 MB / 0.892 GB, free: 7.367 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.1e-08/0.02839, allocations: 0 / 0.892 GB, free: 7.367 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003508/0.02874, allocations: 63.89 kB / 0.8921 GB, free: 7.305 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.002964/0.0317, allocations: 442 kB / 0.8925 GB, free: 7.047 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002682/0.03197, allocations: 75.59 kB / 0.8926 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.03197, allocations: 4 kB / 0.8926 GB, free: 6.965 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.03209, allocations: 43.64 kB / 0.8926 GB, free: 6.918 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007633/0.03285, allocations: 187.1 kB / 0.8928 GB, free: 6.742 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.03482, allocations: 0.9764 MB / 0.8938 GB, free: 5.73 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004437/0.03526, allocations: 355.6 kB / 0.8941 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001417/0.0354, allocations: 43.25 kB / 0.8941 GB, free: 5.312 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.539e-05/0.03548, allocations: 32.5 kB / 0.8942 GB, free: 5.281 MB / 0.8542 GB Notification: Performance of SimCode: time 9.52e-07/0.03548, allocations: 0 / 0.8942 GB, free: 5.281 MB / 0.8542 GB Notification: Performance of Templates: time 0.01494/0.05042, allocations: 6.401 MB / 0.9004 GB, free: 15.04 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 240] 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.94232972105965]