Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.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.001132/0.001132, 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.005413/0.005413, allocations: 161.6 kB / 24.37 MB, free: 8.484 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.8965/0.8965, allocations: 177.2 MB / 204.8 MB, free: 5.395 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.808/1.808, allocations: 389.6 MB / 0.6356 GB, free: 12.21 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.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.7755 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.55e-05, allocations: 6.312 kB / 0.7755 GB, free: 5.254 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.003252/0.003278, allocations: 1.532 MB / 0.777 GB, free: 3.73 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009196/0.004197, allocations: 468.7 kB / 0.7775 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.971e-05/0.004247, allocations: 0 / 0.7775 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.431e-05/0.004291, allocations: 4.469 kB / 0.7775 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.004392, allocations: 9.016 kB / 0.7775 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.004573, allocations: 19.97 kB / 0.7775 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.0047, allocations: 54.58 kB / 0.7775 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.129e-05/0.004782, allocations: 5.5 kB / 0.7776 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.004888, allocations: 39.19 kB / 0.7776 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.515e-05/0.004963, allocations: 16.56 kB / 0.7776 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.004986, allocations: 4 kB / 0.7776 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.647e-05/0.005003, allocations: 4.75 kB / 0.7776 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.553e-05/0.005028, allocations: 8 kB / 0.7776 GB, free: 3.133 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.774e-05/0.005066, allocations: 17.55 kB / 0.7776 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.005185, allocations: 35.89 kB / 0.7777 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.005188, allocations: 0 / 0.7777 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.112e-06/0.005189, allocations: 0 / 0.7777 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.005194, allocations: 2.75 kB / 0.7777 GB, free: 3.082 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004699/0.005664, allocations: 290.5 kB / 0.778 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.005704, allocations: 9.344 kB / 0.778 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/0.00574, allocations: 8.938 kB / 0.778 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.00584, allocations: 109.8 kB / 0.7781 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.005856, allocations: 15.69 kB / 0.7781 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.00587, allocations: 4.359 kB / 0.7781 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.00599, allocations: 71.95 kB / 0.7782 GB, free: 2.523 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.005999, allocations: 192 / 0.7782 GB, free: 2.523 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.006008, allocations: 384 / 0.7782 GB, free: 2.523 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.006019, allocations: 3.938 kB / 0.7782 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.225e-05/0.006061, allocations: 37.69 kB / 0.7782 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003082/0.006369, allocations: 156.3 kB / 0.7784 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.735e-05/0.006456, allocations: 60.2 kB / 0.7784 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.286e-05/0.006489, allocations: 40.16 kB / 0.7784 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.006506, allocations: 0 / 0.7784 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.006653, allocations: 130.9 kB / 0.7786 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.944e-06/0.006655, allocations: 0 / 0.7786 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0002055/0.006861, allocations: 167.3 kB / 0.7787 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/0.006924, allocations: 82.42 kB / 0.7788 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.924e-05/0.007003, allocations: 110.7 kB / 0.7789 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.00702, allocations: 29.7 kB / 0.7789 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.172e-05/0.007062, allocations: 88.12 kB / 0.779 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.007086, allocations: 25.25 kB / 0.7791 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.635e-05/0.007132, allocations: 21.72 kB / 0.7791 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.007248, allocations: 318.8 kB / 0.7794 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.976e-05/0.007288, allocations: 37.7 kB / 0.7794 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.819e-05/0.007346, allocations: 72.75 kB / 0.7795 GB, free: 1.004 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.629e-05/0.007432, allocations: 103.7 kB / 0.7796 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.007435, allocations: 0 / 0.7796 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001374/0.007572, allocations: 137.6 kB / 0.7797 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/0.007608, allocations: 30.83 kB / 0.7797 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.007614, allocations: 3.938 kB / 0.7797 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.007629, allocations: 7.938 kB / 0.7798 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.592e-05/0.007675, allocations: 9.047 kB / 0.7798 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.007679, allocations: 0 / 0.7798 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.243e-05/0.007731, allocations: 7.953 kB / 0.7798 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.007741, allocations: 8.5 kB / 0.7798 GB, free: 0.6602 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001078/0.007849, allocations: 151.1 kB / 0.7799 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.955e-05/0.007868, allocations: 9.156 kB / 0.7799 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.495e-05/0.007893, allocations: 12.44 kB / 0.7799 GB, free: 496 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.007897, allocations: 4 kB / 0.7799 GB, free: 492 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.007899, allocations: 0.5312 kB / 0.7799 GB, free: 492 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.007903, allocations: 0 / 0.7799 GB, free: 492 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000289/0.008192, allocations: 282.8 kB / 0.7802 GB, free: 172 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.008195, allocations: 0 / 0.7802 GB, free: 172 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.035e-05/0.008205, allocations: 9.719 kB / 0.7802 GB, free: 164 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.00821, allocations: 3.938 kB / 0.7802 GB, free: 160 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.008218, allocations: 4 kB / 0.7802 GB, free: 156 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.00822, allocations: 0 / 0.7802 GB, free: 156 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.008221, allocations: 7.25 kB / 0.7802 GB, free: 152 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.008389, allocations: 219 kB / 0.7804 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.29e-05/0.008402, allocations: 7.953 kB / 0.7805 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.008421, allocations: 7.875 kB / 0.7805 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.107e-05/0.008502, allocations: 11.98 kB / 0.7805 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.008538, allocations: 3.984 kB / 0.7805 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.008556, allocations: 8 kB / 0.7805 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.809e-05/0.008575, allocations: 12.8 kB / 0.7805 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.008575, allocations: 0 / 0.7805 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002089/0.008783, allocations: 19.03 kB / 0.7805 GB, free: 15.84 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001045/0.008888, allocations: 84.41 kB / 0.7806 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001666/0.009055, allocations: 159.6 kB / 0.7807 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.00906, allocations: 4 kB / 0.7808 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.585e-05/0.009136, allocations: 106 kB / 0.7809 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.009351, allocations: 13.5 kB / 0.7809 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003161/0.009667, allocations: 194 kB / 0.7811 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.75e-05/0.009714, allocations: 59.34 kB / 0.7811 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.655e-05/0.009741, allocations: 5.125 kB / 0.7811 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.591e-05/0.009817, allocations: 67.36 kB / 0.7812 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of SimCode: time 9.42e-07/0.009818, allocations: 1.094 kB / 0.7812 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of Templates: time 0.003255/0.01307, allocations: 0.979 MB / 0.7821 GB, free: 14.12 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & (cd run_cvode && ../Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.868604244664311]