Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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.0009309/0.0009309, allocations: 91.67 kB / 20.95 MB, free: 3.305 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.0039/0.0039, allocations: 161.7 kB / 24.38 MB, free: 8.547 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.9474/0.9474, allocations: 177.1 MB / 204.8 MB, free: 5.406 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.888/1.888, 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.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Average") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.7756 GB, free: 5.074 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.182e-05/1.318e-05, allocations: 3.125 kB / 0.7756 GB, free: 5.07 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001278/0.001291, allocations: 0.7666 MB / 0.7764 GB, free: 4.328 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.002363, allocations: 0.8465 MB / 0.7772 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.764e-05/0.0024, allocations: 4 kB / 0.7772 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.922e-05/0.002429, allocations: 4.75 kB / 0.7772 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.163e-05/0.002491, allocations: 6.5 kB / 0.7772 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 5.103e-05/0.002542, allocations: 12.58 kB / 0.7772 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.942e-05/0.002622, allocations: 51.95 kB / 0.7773 GB, free: 3.406 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.251e-05/0.002704, allocations: 12.61 kB / 0.7773 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.457e-05/0.002779, allocations: 26.84 kB / 0.7773 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.523e-05/0.002814, allocations: 13.41 kB / 0.7773 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.00283, allocations: 4 kB / 0.7773 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.453e-06/0.002836, allocations: 4.688 kB / 0.7773 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.038e-05/0.002857, allocations: 9.953 kB / 0.7774 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.392e-05/0.00288, allocations: 14.42 kB / 0.7774 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 7.389e-05/0.002954, allocations: 31.88 kB / 0.7774 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.002956, allocations: 4 kB / 0.7774 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.71e-07/0.002957, allocations: 0 / 0.7774 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.002961, allocations: 0.8125 kB / 0.7774 GB, free: 3.297 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002968/0.003257, allocations: 248.9 kB / 0.7776 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.003288, allocations: 9.844 kB / 0.7777 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.208e-05/0.00331, allocations: 5.656 kB / 0.7777 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.142e-05/0.003392, allocations: 109.8 kB / 0.7778 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.003402, allocations: 7.438 kB / 0.7778 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.003412, allocations: 4.375 kB / 0.7778 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.602e-05/0.003508, allocations: 62.88 kB / 0.7778 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.003514, allocations: 192 / 0.7778 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.003523, allocations: 12.34 kB / 0.7778 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.003528, allocations: 384 / 0.7778 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.843e-05/0.003546, allocations: 7.938 kB / 0.7779 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001856/0.003732, allocations: 159 kB / 0.778 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.986e-05/0.003782, allocations: 34.52 kB / 0.778 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.362e-05/0.003796, allocations: 4.859 kB / 0.778 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.003805, allocations: 4 kB / 0.778 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.003826, allocations: 30.56 kB / 0.7781 GB, free: 2.523 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.003827, allocations: 0 / 0.7781 GB, free: 2.523 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001035/0.003931, allocations: 45.72 kB / 0.7781 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.003963, allocations: 53.31 kB / 0.7782 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.048e-05/0.004024, allocations: 114.7 kB / 0.7783 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.004034, allocations: 25.7 kB / 0.7783 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.549e-05/0.00407, allocations: 92.08 kB / 0.7784 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.004089, allocations: 7.938 kB / 0.7784 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.608e-05/0.004115, allocations: 19.44 kB / 0.7784 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.091e-05/0.004196, allocations: 310.8 kB / 0.7787 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.205e-05/0.004208, allocations: 4 kB / 0.7787 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.124e-05/0.00422, allocations: 7.984 kB / 0.7787 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.224e-05/0.004242, allocations: 8.859 kB / 0.7787 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.004243, allocations: 0.6875 kB / 0.7787 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.814e-05/0.004291, allocations: 42.56 kB / 0.7788 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.004303, allocations: 8 kB / 0.7788 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.004308, allocations: 0 / 0.7788 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.004318, allocations: 4.469 kB / 0.7788 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.951e-05/0.004388, allocations: 17.05 kB / 0.7788 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.004391, allocations: 0 / 0.7788 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.476e-05/0.004416, allocations: 8.797 kB / 0.7788 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.004422, allocations: 0 / 0.7788 GB, free: 1.711 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.081e-05/0.004483, allocations: 114.4 kB / 0.7789 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.291e-05/0.004496, allocations: 0.9375 kB / 0.7789 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.181e-05/0.004517, allocations: 12 kB / 0.7789 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.00452, allocations: 3.938 kB / 0.7789 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.004526, allocations: 0.5938 kB / 0.7789 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.004531, allocations: 0 / 0.7789 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.189e-05/0.004623, allocations: 74.77 kB / 0.779 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.004625, allocations: 4 kB / 0.779 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.054e-05/0.004655, allocations: 13.42 kB / 0.779 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.004657, allocations: 0 / 0.779 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-06/0.004661, allocations: 3.938 kB / 0.779 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.004662, allocations: 0.6562 kB / 0.779 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.004663, allocations: 0 / 0.779 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.007e-05/0.004753, allocations: 152.5 kB / 0.7792 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-06/0.004762, allocations: 11.94 kB / 0.7792 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.985e-06/0.00477, allocations: 0.9375 kB / 0.7792 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.451e-05/0.004804, allocations: 7.984 kB / 0.7792 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.004836, allocations: 3.984 kB / 0.7792 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.004841, allocations: 8.812 kB / 0.7792 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.494e-05/0.004856, allocations: 8.859 kB / 0.7792 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.004856, allocations: 0.6875 kB / 0.7792 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001199/0.004976, allocations: 12 kB / 0.7792 GB, free: 1.25 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 8.777e-05/0.005064, allocations: 73.98 kB / 0.7793 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.605e-05/0.00513, allocations: 16.84 kB / 0.7793 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.005133, allocations: 0.9375 kB / 0.7793 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.081e-05/0.005153, allocations: 16.8 kB / 0.7793 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.005301, allocations: 11.69 kB / 0.7793 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002658/0.005566, allocations: 129.4 kB / 0.7795 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.037e-05/0.005607, allocations: 64.22 kB / 0.7795 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.64e-05/0.005633, allocations: 4.719 kB / 0.7795 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.532e-05/0.005689, allocations: 61.27 kB / 0.7796 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of SimCode: time 8.72e-07/0.005689, allocations: 0 / 0.7796 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of Templates: time 0.002124/0.007813, allocations: 0.6802 MB / 0.7803 GB, free: 184 kB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & (cd run_cvode && ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Average_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Average_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Average_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Average_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Average_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Average_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Average_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Average_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Average_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Average_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.8728650556877255]