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.00104/0.00104, 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.002278/0.002278, allocations: 165 kB / 24.16 MB, free: 332 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 1.049/1.049, allocations: 177.2 MB / 204.6 MB, free: 5.477 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.968/1.968, allocations: 389.6 MB / 0.6354 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 177] 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 3.687e-06/3.687e-06, allocations: 0 / 0.7753 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.638e-05/3.007e-05, allocations: 3.062 kB / 0.7753 GB, free: 5.277 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001688/0.001718, allocations: 0.764 MB / 0.776 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008499/0.002568, allocations: 0.8485 MB / 0.7768 GB, free: 3.68 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.006e-05/0.002608, allocations: 2.438 kB / 0.7768 GB, free: 3.68 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.16e-05/0.00264, allocations: 3.938 kB / 0.7769 GB, free: 3.676 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.173e-05/0.002721, allocations: 4.047 kB / 0.7769 GB, free: 3.676 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 5.991e-05/0.002781, allocations: 11.98 kB / 0.7769 GB, free: 3.664 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.202e-05/0.002863, allocations: 50.36 kB / 0.7769 GB, free: 3.621 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.544e-05/0.002949, allocations: 7.984 kB / 0.7769 GB, free: 3.613 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.73e-05/0.003036, allocations: 32 kB / 0.777 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.814e-05/0.003074, allocations: 13.3 kB / 0.777 GB, free: 3.574 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.003093, allocations: 4 kB / 0.777 GB, free: 3.57 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.414e-06/0.0031, allocations: 4 kB / 0.777 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.77e-05/0.003118, allocations: 5.422 kB / 0.777 GB, free: 3.562 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.196e-05/0.00314, allocations: 17.22 kB / 0.777 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 8.549e-05/0.003225, allocations: 31.89 kB / 0.777 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.003229, allocations: 2.188 kB / 0.777 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.31e-07/0.00323, allocations: 0 / 0.777 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.003235, allocations: 0 / 0.777 GB, free: 3.516 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.0003246/0.00356, allocations: 244.9 kB / 0.7773 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.003601, allocations: 13.34 kB / 0.7773 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.355e-05/0.003625, allocations: 3.688 kB / 0.7773 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.279e-05/0.003718, allocations: 117.7 kB / 0.7774 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.00373, allocations: 4.375 kB / 0.7774 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.805e-06/0.003738, allocations: 8.312 kB / 0.7774 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.003856, allocations: 62.88 kB / 0.7775 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.003864, allocations: 192 / 0.7775 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.00387, allocations: 3.25 kB / 0.7775 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.003877, allocations: 4.375 kB / 0.7775 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.907e-05/0.003896, allocations: 7.938 kB / 0.7775 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002271/0.004123, allocations: 152.2 kB / 0.7776 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.057e-05/0.004184, allocations: 30.5 kB / 0.7776 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.065e-05/0.004204, allocations: 17 kB / 0.7777 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.004216, allocations: 0 / 0.7777 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.004237, allocations: 31.19 kB / 0.7777 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.004238, allocations: 0 / 0.7777 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001268/0.004365, allocations: 50.44 kB / 0.7777 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.004398, allocations: 52.19 kB / 0.7778 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.215e-05/0.00446, allocations: 110.7 kB / 0.7779 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.004479, allocations: 34.27 kB / 0.7779 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.977e-05/0.004518, allocations: 84.09 kB / 0.778 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.004539, allocations: 8.859 kB / 0.778 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.00457, allocations: 17.7 kB / 0.778 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.848e-05/0.004659, allocations: 318.8 kB / 0.7783 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.364e-05/0.004673, allocations: 1.312 kB / 0.7783 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.219e-05/0.004685, allocations: 4 kB / 0.7783 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.884e-05/0.004714, allocations: 12.84 kB / 0.7784 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.004716, allocations: 0.7812 kB / 0.7784 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.297e-05/0.004779, allocations: 41.69 kB / 0.7784 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.004794, allocations: 4.531 kB / 0.7784 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.0048, allocations: 1.875 kB / 0.7784 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.004816, allocations: 3.938 kB / 0.7784 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.026e-05/0.004907, allocations: 11.94 kB / 0.7784 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.004913, allocations: 7.984 kB / 0.7784 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.712e-05/0.00494, allocations: 8.969 kB / 0.7784 GB, free: 1.926 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.004948, allocations: 7.984 kB / 0.7784 GB, free: 1.918 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.573e-05/0.005013, allocations: 106.3 kB / 0.7785 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.471e-05/0.005028, allocations: 5.688 kB / 0.7786 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.175e-05/0.00506, allocations: 11.98 kB / 0.7786 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.005064, allocations: 7.875 kB / 0.7786 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.005067, allocations: 0 / 0.7786 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.005071, allocations: 0 / 0.7786 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.005181, allocations: 82.75 kB / 0.7786 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.005182, allocations: 0 / 0.7786 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.928e-05/0.005221, allocations: 9.25 kB / 0.7787 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.005223, allocations: 0 / 0.7787 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.00523, allocations: 0 / 0.7787 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.005232, allocations: 5.75 kB / 0.7787 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.005233, allocations: 0 / 0.7787 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005628/0.005796, allocations: 147.4 kB / 0.7788 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.28e-05/0.005809, allocations: 3.953 kB / 0.7788 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-06/0.005819, allocations: 0 / 0.7788 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.924e-05/0.005858, allocations: 9.219 kB / 0.7788 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.005911, allocations: 7.984 kB / 0.7788 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.005915, allocations: 3.938 kB / 0.7788 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.754e-05/0.005933, allocations: 17.48 kB / 0.7788 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005933, allocations: 0 / 0.7788 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001158/0.006048, allocations: 9.125 kB / 0.7789 GB, free: 1.465 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 0.0001125/0.006161, allocations: 77.11 kB / 0.7789 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.173e-05/0.006243, allocations: 16.86 kB / 0.7789 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.006246, allocations: 0.5 kB / 0.7789 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.043e-05/0.006266, allocations: 17.64 kB / 0.779 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001926/0.006459, allocations: 9.688 kB / 0.779 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003092/0.006768, allocations: 128.5 kB / 0.7791 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.685e-05/0.006815, allocations: 64.44 kB / 0.7792 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.698e-05/0.006842, allocations: 0.9375 kB / 0.7792 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.721e-05/0.006899, allocations: 51.38 kB / 0.7792 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of SimCode: time 9.52e-07/0.0069, allocations: 1.219 kB / 0.7792 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of Templates: time 0.002406/0.009306, allocations: 0.6871 MB / 0.7799 GB, free: 408 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: 5.154024291783571]