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.001223/0.001223, allocations: 91.67 kB / 20.95 MB, free: 3.301 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.004087/0.004087, allocations: 162 kB / 24.38 MB, free: 8.586 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 0.9023/0.9023, allocations: 177.1 MB / 204.8 MB, free: 5.062 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.848/1.848, allocations: 389.6 MB / 0.6356 GB, free: 12.22 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.184e-06/2.184e-06, allocations: 0 / 0.7755 GB, free: 5.191 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.798e-05, allocations: 13 kB / 0.7755 GB, free: 5.18 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.002794/0.002822, allocations: 1.152 MB / 0.7767 GB, free: 4.059 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.004604/0.007425, allocations: 1.114 MB / 0.7778 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.00753, allocations: 0 / 0.7778 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 5.468e-05/0.007584, allocations: 19.73 kB / 0.7778 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001442/0.007729, allocations: 47.38 kB / 0.7778 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003105/0.008039, allocations: 99.75 kB / 0.7779 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002764/0.008316, allocations: 243.3 kB / 0.7782 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.008475, allocations: 86.38 kB / 0.7782 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002793/0.008754, allocations: 148.5 kB / 0.7784 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.008874, allocations: 77.48 kB / 0.7785 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.973e-05/0.008913, allocations: 24 kB / 0.7785 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.794e-05/0.008991, allocations: 28 kB / 0.7785 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.802e-05/0.009039, allocations: 55.81 kB / 0.7786 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.187e-05/0.009111, allocations: 79.75 kB / 0.7786 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.009346, allocations: 164.1 kB / 0.7788 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.009349, allocations: 4 kB / 0.7788 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.51e-07/0.00935, allocations: 0.75 kB / 0.7788 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.009354, allocations: 0 / 0.7788 GB, free: 1.887 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.0006469/0.01, allocations: 446.6 kB / 0.7792 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.01003, allocations: 8.75 kB / 0.7792 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001901/0.01022, allocations: 48.89 kB / 0.7793 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.01044, allocations: 168.1 kB / 0.7794 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-05/0.01053, allocations: 119.4 kB / 0.7795 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/0.01057, allocations: 20.36 kB / 0.7796 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.01081, allocations: 146.7 kB / 0.7797 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.01082, allocations: 192 / 0.7797 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.01084, allocations: 12.38 kB / 0.7797 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.01085, allocations: 10.06 kB / 0.7797 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.89e-05/0.01095, allocations: 35.98 kB / 0.7798 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005726/0.01152, allocations: 331.7 kB / 0.7801 GB, free: 492 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.01171, allocations: 71.61 kB / 0.7801 GB, free: 412 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.727e-05/0.01176, allocations: 29.66 kB / 0.7802 GB, free: 380 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.01179, allocations: 7.984 kB / 0.7802 GB, free: 372 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/0.01193, allocations: 95.77 kB / 0.7803 GB, free: 264 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=19): time 1.783e-06/0.01194, allocations: 0.9375 kB / 0.7803 GB, free: 264 kB / 0.7292 GB Notification: Performance of matching and sorting (n=19): time 0.0002439/0.01218, allocations: 115.3 kB / 0.7804 GB, free: 144 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.01222, allocations: 55.41 kB / 0.7804 GB, free: 76 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.01236, allocations: 180.4 kB / 0.7806 GB, free: 15.89 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.01238, allocations: 34.48 kB / 0.7806 GB, free: 15.85 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 6.868e-05/0.01245, allocations: 124.5 kB / 0.7808 GB, free: 15.72 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 5.806e-05/0.01251, allocations: 67.95 kB / 0.7808 GB, free: 15.65 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.074e-05/0.01258, allocations: 49.61 kB / 0.7809 GB, free: 15.6 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.01269, allocations: 332.2 kB / 0.7812 GB, free: 15.27 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.762e-05/0.01273, allocations: 16 kB / 0.7812 GB, free: 15.25 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.961e-05/0.0128, allocations: 53.38 kB / 0.7813 GB, free: 15.19 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.01293, allocations: 74.45 kB / 0.7813 GB, free: 15.11 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01293, allocations: 0.6562 kB / 0.7813 GB, free: 15.11 MB / 0.7449 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001899/0.01312, allocations: 118.2 kB / 0.7814 GB, free: 14.99 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.01313, allocations: 8 kB / 0.7814 GB, free: 14.98 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.01314, allocations: 0.625 kB / 0.7814 GB, free: 14.98 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.806e-06/0.01315, allocations: 0 / 0.7814 GB, free: 14.98 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.01332, allocations: 53 kB / 0.7815 GB, free: 14.93 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.01333, allocations: 4.156 kB / 0.7815 GB, free: 14.93 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.909e-05/0.01341, allocations: 24.75 kB / 0.7815 GB, free: 14.9 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.01343, allocations: 7.984 kB / 0.7815 GB, free: 14.89 MB / 0.7449 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 9.447e-05/0.01352, allocations: 122.4 kB / 0.7817 GB, free: 14.77 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.01355, allocations: 16.61 kB / 0.7817 GB, free: 14.75 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.797e-05/0.01359, allocations: 23.56 kB / 0.7817 GB, free: 14.73 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.01359, allocations: 4 kB / 0.7817 GB, free: 14.73 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.0136, allocations: 3.984 kB / 0.7817 GB, free: 14.72 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.269e-06/0.0136, allocations: 0 / 0.7817 GB, free: 14.72 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.01376, allocations: 125.8 kB / 0.7818 GB, free: 14.58 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01376, allocations: 0.5938 kB / 0.7818 GB, free: 14.58 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.01391, allocations: 40.97 kB / 0.7819 GB, free: 14.54 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.01392, allocations: 0 / 0.7819 GB, free: 14.54 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.01393, allocations: 7.938 kB / 0.7819 GB, free: 14.54 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.01393, allocations: 0.5312 kB / 0.7819 GB, free: 14.54 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.01394, allocations: 0.9375 kB / 0.7819 GB, free: 14.54 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.01419, allocations: 156.9 kB / 0.782 GB, free: 14.36 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 2.432e-05/0.01422, allocations: 20.64 kB / 0.782 GB, free: 14.34 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.01424, allocations: 11.94 kB / 0.782 GB, free: 14.33 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.499e-05/0.01432, allocations: 12.92 kB / 0.7821 GB, free: 14.32 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.858e-05/0.01438, allocations: 19.97 kB / 0.7821 GB, free: 14.3 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.01439, allocations: 9 kB / 0.7821 GB, free: 14.29 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 5.009e-05/0.01444, allocations: 44.78 kB / 0.7821 GB, free: 14.25 MB / 0.7449 GB Notification: Performance of sort global known variables: time 6e-08/0.01444, allocations: 0 / 0.7821 GB, free: 14.25 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0002292/0.01467, allocations: 53.75 kB / 0.7822 GB, free: 14.2 MB / 0.7449 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 0.0001126/0.01478, allocations: 92.34 kB / 0.7823 GB, free: 14.1 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0001701/0.01495, allocations: 82.83 kB / 0.7823 GB, free: 14.02 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.01496, allocations: 1.094 kB / 0.7823 GB, free: 14.02 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 8.159e-05/0.01504, allocations: 48.77 kB / 0.7824 GB, free: 13.96 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.01525, allocations: 41.56 kB / 0.7824 GB, free: 13.93 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000914/0.01616, allocations: 408.7 kB / 0.7828 GB, free: 13.5 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.125e-05/0.01621, allocations: 76.22 kB / 0.7829 GB, free: 13.41 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 9.262e-05/0.0163, allocations: 19.39 kB / 0.7829 GB, free: 13.39 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.01644, allocations: 87.34 kB / 0.783 GB, free: 13.3 MB / 0.7449 GB Notification: Performance of SimCode: time 4.51e-07/0.01644, allocations: 4.781 kB / 0.783 GB, free: 13.3 MB / 0.7449 GB Notification: Performance of Templates: time 0.005718/0.02216, allocations: 2.392 MB / 0.7853 GB, free: 11.05 MB / 0.7449 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.673485549166799]