Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.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.0009328/0.0009328, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001011/0.001011, allocations: 161 kB / 24.17 MB, free: 328 kB / 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.9525/0.9525, allocations: 177.1 MB / 204.6 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.915/1.915, allocations: 389.6 MB / 0.6354 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage") translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 0.7752 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.252e-05/2.484e-05, allocations: 5.547 kB / 0.7752 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.002102/0.002127, allocations: 1.154 MB / 0.7763 GB, free: 4.262 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.003229, allocations: 1.104 MB / 0.7774 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.221e-05/0.003311, allocations: 4.562 kB / 0.7774 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.797e-05/0.003359, allocations: 25.2 kB / 0.7774 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.003495, allocations: 48.17 kB / 0.7775 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.003723, allocations: 96.3 kB / 0.7775 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.0039, allocations: 248.6 kB / 0.7778 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.004029, allocations: 86.45 kB / 0.7779 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002074/0.004236, allocations: 151.6 kB / 0.778 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.553e-05/0.004332, allocations: 80.91 kB / 0.7781 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.171e-05/0.004363, allocations: 24 kB / 0.7781 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.163e-05/0.004425, allocations: 28 kB / 0.7781 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.851e-05/0.004463, allocations: 56.25 kB / 0.7782 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.502e-05/0.004518, allocations: 68.58 kB / 0.7783 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.004708, allocations: 179.3 kB / 0.7784 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.004711, allocations: 1.969 kB / 0.7784 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.82e-07/0.004712, allocations: 0 / 0.7784 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.004716, allocations: 0 / 0.7784 GB, free: 2.086 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0004873/0.005203, allocations: 434.6 kB / 0.7788 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.774e-05/0.005231, allocations: 8.75 kB / 0.7788 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.00542, allocations: 52.89 kB / 0.7789 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.005626, allocations: 157.4 kB / 0.7791 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.544e-05/0.005691, allocations: 130.4 kB / 0.7792 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.005714, allocations: 16.38 kB / 0.7792 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.00587, allocations: 150.7 kB / 0.7793 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.00588, allocations: 192 / 0.7793 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.005891, allocations: 4.375 kB / 0.7793 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.005898, allocations: 11.94 kB / 0.7793 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.163e-05/0.00596, allocations: 39.98 kB / 0.7794 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003818/0.006342, allocations: 337.3 kB / 0.7797 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.006465, allocations: 71.69 kB / 0.7798 GB, free: 0.6055 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.369e-05/0.006498, allocations: 28.86 kB / 0.7798 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.006521, allocations: 11.92 kB / 0.7798 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001116/0.006632, allocations: 96.56 kB / 0.7799 GB, free: 468 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=19): time 2.786e-06/0.006635, allocations: 1.125 kB / 0.7799 GB, free: 468 kB / 0.7292 GB Notification: Performance of matching and sorting (n=19): time 0.0002099/0.006845, allocations: 107.9 kB / 0.78 GB, free: 356 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.00688, allocations: 59.41 kB / 0.7801 GB, free: 284 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.006993, allocations: 176.7 kB / 0.7802 GB, free: 96 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.007007, allocations: 29.7 kB / 0.7803 GB, free: 60 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.833e-05/0.007066, allocations: 128.5 kB / 0.7804 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.036e-05/0.007106, allocations: 67.91 kB / 0.7805 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.845e-05/0.007155, allocations: 46.41 kB / 0.7805 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.354e-05/0.007228, allocations: 334.8 kB / 0.7808 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.998e-05/0.007258, allocations: 12.62 kB / 0.7808 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.413e-05/0.007302, allocations: 53.38 kB / 0.7809 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.839e-05/0.007381, allocations: 87.28 kB / 0.781 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.007382, allocations: 0 / 0.781 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001219/0.007504, allocations: 122.6 kB / 0.7811 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.007516, allocations: 6.5 kB / 0.7811 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.007521, allocations: 4 kB / 0.7811 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.007532, allocations: 0.9688 kB / 0.7811 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.007644, allocations: 43.97 kB / 0.7811 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.007648, allocations: 5.531 kB / 0.7811 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.001e-05/0.007698, allocations: 11.98 kB / 0.7812 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.007706, allocations: 8 kB / 0.7812 GB, free: 15.11 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (loaHea.movAve.mode,$PRE.loaHea.movAve.mode,$whenCondition1,loaCoo.movAve.mode,$PRE.loaCoo.movAve.mode,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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 6.519e-05/0.007771, allocations: 122.6 kB / 0.7813 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.007789, allocations: 19.92 kB / 0.7813 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.238e-05/0.007821, allocations: 27.05 kB / 0.7813 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.007823, allocations: 0 / 0.7813 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.007827, allocations: 8 kB / 0.7813 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.007831, allocations: 0.8125 kB / 0.7813 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.007941, allocations: 133.8 kB / 0.7815 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.007942, allocations: 0 / 0.7815 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.465e-05/0.008037, allocations: 40.44 kB / 0.7815 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.008039, allocations: 1.781 kB / 0.7815 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.00805, allocations: 7.938 kB / 0.7815 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.008052, allocations: 4 kB / 0.7815 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.008052, allocations: 0 / 0.7815 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.008227, allocations: 162.6 kB / 0.7817 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.574e-05/0.008242, allocations: 15.84 kB / 0.7817 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.008259, allocations: 7.938 kB / 0.7817 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.412e-05/0.008303, allocations: 12.98 kB / 0.7817 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.008346, allocations: 27.95 kB / 0.7817 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.008351, allocations: 0 / 0.7817 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.054e-05/0.008382, allocations: 49.89 kB / 0.7818 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.008382, allocations: 0 / 0.7818 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001224/0.008504, allocations: 43.89 kB / 0.7818 GB, free: 14.4 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (loaHea.movAve.mu,loaCoo.movAve.mu) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,loaHea.movAve.mode,loaCoo.movAve.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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 7.048e-05/0.008575, allocations: 89.62 kB / 0.7819 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000125/0.0087, allocations: 89.67 kB / 0.782 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.008703, allocations: 4 kB / 0.782 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.1e-05/0.008754, allocations: 42.33 kB / 0.782 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.0089, allocations: 38.5 kB / 0.7821 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006367/0.009537, allocations: 412.8 kB / 0.7825 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.77e-05/0.009574, allocations: 80.22 kB / 0.7825 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.912e-05/0.009634, allocations: 19.86 kB / 0.7826 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.39e-05/0.009727, allocations: 83.36 kB / 0.7826 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of SimCode: time 5.81e-07/0.009728, allocations: 1.625 kB / 0.7826 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of Templates: time 0.003782/0.01351, allocations: 2.389 MB / 0.785 GB, free: 11.26 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe ; mkfifo Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe >> ../files/Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.sim & (cd run_cvode && ../Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_gbode.pipe ; mkfifo Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_ida.pipe ; mkfifo Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.913061779923737]