Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.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.000877/0.000877, 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.00404/0.00404, allocations: 163.4 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 1.003/1.003, allocations: 177.2 MB / 204.8 MB, free: 5.387 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.895/1.895, 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.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.7756 GB, free: 5.086 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.685e-05/1.837e-05, allocations: 3.062 kB / 0.7756 GB, free: 5.082 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001614/0.001632, allocations: 1.08 MB / 0.7767 GB, free: 4.031 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.002768, allocations: 1.07 MB / 0.7777 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.002872, allocations: 4 kB / 0.7777 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.002996, allocations: 20.94 kB / 0.7778 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.265e-05/0.003048, allocations: 12.47 kB / 0.7778 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.003277, allocations: 80.44 kB / 0.7779 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.003424, allocations: 182.8 kB / 0.778 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.003537, allocations: 57.81 kB / 0.7781 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.003648, allocations: 103.8 kB / 0.7782 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.658e-05/0.003725, allocations: 63.78 kB / 0.7782 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.003749, allocations: 16 kB / 0.7783 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.78e-05/0.003807, allocations: 16 kB / 0.7783 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.227e-05/0.003839, allocations: 39.89 kB / 0.7783 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.665e-05/0.003876, allocations: 51.83 kB / 0.7784 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.004029, allocations: 139.3 kB / 0.7785 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.00403, allocations: 0 / 0.7785 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.71e-07/0.004031, allocations: 3.062 kB / 0.7785 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.004035, allocations: 0 / 0.7785 GB, free: 2.191 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0004335/0.004468, allocations: 368.2 kB / 0.7789 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.004498, allocations: 9.344 kB / 0.7789 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.959e-05/0.004587, allocations: 32.84 kB / 0.7789 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.00475, allocations: 151.2 kB / 0.779 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.004769, allocations: 12.94 kB / 0.779 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.004794, allocations: 16.38 kB / 0.7791 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.004951, allocations: 157.3 kB / 0.7792 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.004959, allocations: 192 / 0.7792 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.004969, allocations: 8.125 kB / 0.7792 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.004975, allocations: 4 kB / 0.7792 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.743e-05/0.005022, allocations: 36.44 kB / 0.7793 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004505/0.005473, allocations: 326.9 kB / 0.7796 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.005629, allocations: 80.97 kB / 0.7797 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.804e-05/0.005667, allocations: 40.83 kB / 0.7797 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.005686, allocations: 7.984 kB / 0.7797 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.895e-05/0.005775, allocations: 111.1 kB / 0.7798 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=19): time 1.132e-06/0.005776, allocations: 0 / 0.7798 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of matching and sorting (n=19): time 0.0001519/0.005928, allocations: 115.8 kB / 0.7799 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.005955, allocations: 59.84 kB / 0.78 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.953e-05/0.006025, allocations: 144.1 kB / 0.7801 GB, free: 432 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.006042, allocations: 30.23 kB / 0.7801 GB, free: 396 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/0.006086, allocations: 113.1 kB / 0.7802 GB, free: 280 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.859e-05/0.006135, allocations: 75.39 kB / 0.7803 GB, free: 204 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.363e-05/0.006178, allocations: 38.56 kB / 0.7804 GB, free: 160 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.761e-05/0.006276, allocations: 326.8 kB / 0.7807 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.007e-05/0.006326, allocations: 24.52 kB / 0.7807 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.428e-05/0.00637, allocations: 46.86 kB / 0.7807 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.624e-05/0.006447, allocations: 77.38 kB / 0.7808 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.00645, allocations: 7.875 kB / 0.7808 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001119/0.006562, allocations: 104.1 kB / 0.7809 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.006573, allocations: 4.688 kB / 0.7809 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.006578, allocations: 3.984 kB / 0.7809 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.006591, allocations: 8.875 kB / 0.7809 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.559e-05/0.006686, allocations: 39.92 kB / 0.781 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.006692, allocations: 5.75 kB / 0.781 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.466e-05/0.006736, allocations: 15.88 kB / 0.781 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.006746, allocations: 8 kB / 0.781 GB, free: 15.48 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 7.619e-05/0.006822, allocations: 117.8 kB / 0.7811 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.006838, allocations: 17.58 kB / 0.7811 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/0.006968, allocations: 106.7 kB / 0.7812 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.006971, allocations: 3.938 kB / 0.7812 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.006973, allocations: 0.8125 kB / 0.7812 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.006978, allocations: 3.984 kB / 0.7812 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003472/0.007326, allocations: 372.8 kB / 0.7816 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.00733, allocations: 8 kB / 0.7816 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.8e-05/0.007418, allocations: 37 kB / 0.7816 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.185e-06/0.007421, allocations: 4 kB / 0.7816 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.007432, allocations: 9.469 kB / 0.7816 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.007434, allocations: 0 / 0.7816 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.007436, allocations: 4 kB / 0.7817 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.007615, allocations: 261.5 kB / 0.7819 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.395e-05/0.007629, allocations: 19.88 kB / 0.7819 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.007645, allocations: 8 kB / 0.7819 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.651e-05/0.007702, allocations: 9.062 kB / 0.7819 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.007739, allocations: 23.89 kB / 0.782 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.007748, allocations: 8.5 kB / 0.782 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.386e-05/0.007771, allocations: 34.45 kB / 0.782 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.007771, allocations: 0.7188 kB / 0.782 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001452/0.007917, allocations: 36.89 kB / 0.782 GB, free: 14.34 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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 7.742e-05/0.007994, allocations: 89.28 kB / 0.7821 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001253/0.008119, allocations: 95.73 kB / 0.7822 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.008122, allocations: 0 / 0.7822 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.781e-05/0.00817, allocations: 53.84 kB / 0.7823 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.008335, allocations: 24.89 kB / 0.7823 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005025/0.008837, allocations: 371 kB / 0.7826 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.547e-05/0.008883, allocations: 72.67 kB / 0.7827 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.776e-05/0.00893, allocations: 20.03 kB / 0.7827 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.84e-05/0.009009, allocations: 71.38 kB / 0.7828 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/0.009009, allocations: 0 / 0.7828 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of Templates: time 0.003374/0.01238, allocations: 1.865 MB / 0.7846 GB, free: 11.73 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & (cd run_cvode && ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.013663517311215]