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.001301/0.001301, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001454/0.001454, allocations: 161 kB / 24.16 MB, free: 336 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 0.9632/0.9632, allocations: 177.2 MB / 204.6 MB, free: 5.453 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 2.069/2.069, allocations: 389.6 MB / 0.6354 GB, free: 12.26 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.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.503e-06/1.503e-06, allocations: 0 / 0.7751 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.483e-05/1.633e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002075/0.002092, allocations: 1.54 MB / 0.7767 GB, free: 3.84 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008299/0.002921, allocations: 459.2 kB / 0.7771 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.108e-05/0.002973, allocations: 0 / 0.7771 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.93e-05/0.003012, allocations: 3.938 kB / 0.7771 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.003123, allocations: 15 kB / 0.7771 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/0.00331, allocations: 20.69 kB / 0.7771 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.003437, allocations: 52.77 kB / 0.7772 GB, free: 3.316 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.678e-05/0.003514, allocations: 8 kB / 0.7772 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.883e-05/0.003593, allocations: 39.83 kB / 0.7772 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.249e-05/0.003655, allocations: 11.98 kB / 0.7772 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.003676, allocations: 4 kB / 0.7772 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.145e-05/0.003688, allocations: 4 kB / 0.7772 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.404e-05/0.003712, allocations: 3.938 kB / 0.7772 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.583e-05/0.003748, allocations: 18.73 kB / 0.7773 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.003851, allocations: 35.89 kB / 0.7773 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.003853, allocations: 4 kB / 0.7773 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.12e-07/0.003854, allocations: 0 / 0.7773 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.003858, allocations: 0 / 0.7773 GB, free: 3.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004158/0.004274, allocations: 292 kB / 0.7776 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.004313, allocations: 13.34 kB / 0.7776 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.822e-05/0.004341, allocations: 4.938 kB / 0.7776 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.894e-05/0.00443, allocations: 117.7 kB / 0.7777 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.004441, allocations: 1.531 kB / 0.7777 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.004449, allocations: 4.375 kB / 0.7777 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.339e-05/0.004543, allocations: 75.94 kB / 0.7778 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.00455, allocations: 1.188 kB / 0.7778 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.004559, allocations: 4.375 kB / 0.7778 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.004565, allocations: 3.938 kB / 0.7778 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.174e-05/0.004597, allocations: 38.28 kB / 0.7778 GB, free: 2.582 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002527/0.004849, allocations: 156.9 kB / 0.778 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.672e-05/0.004906, allocations: 61.27 kB / 0.778 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.005026, allocations: 42.69 kB / 0.7781 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.005042, allocations: 0 / 0.7781 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001007/0.005143, allocations: 119.6 kB / 0.7782 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 9.22e-07/0.005144, allocations: 4 kB / 0.7782 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0001514/0.005295, allocations: 164.1 kB / 0.7784 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.005336, allocations: 85.09 kB / 0.7784 GB, free: 1.859 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.238e-05/0.005398, allocations: 118.8 kB / 0.7786 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.005409, allocations: 25.7 kB / 0.7786 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.062e-05/0.00544, allocations: 84.8 kB / 0.7787 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.005457, allocations: 20.58 kB / 0.7787 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.005491, allocations: 29.62 kB / 0.7787 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.686e-05/0.005568, allocations: 316.5 kB / 0.779 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.456e-05/0.005592, allocations: 41.69 kB / 0.779 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.776e-05/0.00563, allocations: 60.22 kB / 0.7791 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.283e-05/0.005693, allocations: 106.9 kB / 0.7792 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.005695, allocations: 0 / 0.7792 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.854e-05/0.005784, allocations: 125.6 kB / 0.7793 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.005809, allocations: 34.83 kB / 0.7794 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.005815, allocations: 3.938 kB / 0.7794 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.005826, allocations: 0 / 0.7794 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.778e-05/0.005864, allocations: 12.55 kB / 0.7794 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.005868, allocations: 4 kB / 0.7794 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.357e-05/0.005902, allocations: 8.828 kB / 0.7794 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.005907, allocations: 3.984 kB / 0.7794 GB, free: 0.7852 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 7.2e-05/0.005979, allocations: 155.1 kB / 0.7795 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/0.005991, allocations: 8.656 kB / 0.7795 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.45e-05/0.006015, allocations: 12.38 kB / 0.7796 GB, free: 0.6055 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.006016, allocations: 1.812 kB / 0.7796 GB, free: 0.6055 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.006021, allocations: 7.984 kB / 0.7796 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.006026, allocations: 0 / 0.7796 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/0.006236, allocations: 278.2 kB / 0.7798 GB, free: 296 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.006237, allocations: 0 / 0.7798 GB, free: 296 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.651e-06/0.006243, allocations: 5 kB / 0.7798 GB, free: 292 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.006246, allocations: 3.938 kB / 0.7798 GB, free: 288 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.006251, allocations: 0 / 0.7798 GB, free: 288 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.006252, allocations: 0.5 kB / 0.7798 GB, free: 288 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.006253, allocations: 1.062 kB / 0.7798 GB, free: 288 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.006361, allocations: 222.9 kB / 0.7801 GB, free: 36 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.142e-05/0.006373, allocations: 11.89 kB / 0.7801 GB, free: 24 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.00639, allocations: 8.875 kB / 0.7801 GB, free: 16 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.55e-05/0.006435, allocations: 11.98 kB / 0.7801 GB, free: 4 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.777e-05/0.006483, allocations: 8.578 kB / 0.7801 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.006495, allocations: 4.938 kB / 0.7801 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.573e-05/0.00651, allocations: 12.84 kB / 0.7801 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.00651, allocations: 3.938 kB / 0.7801 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001352/0.006646, allocations: 16.84 kB / 0.7801 GB, free: 15.95 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 6.441e-05/0.00671, allocations: 85.38 kB / 0.7802 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001286/0.006839, allocations: 157.3 kB / 0.7804 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.00684, allocations: 0 / 0.7804 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.351e-05/0.006894, allocations: 106 kB / 0.7805 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.007036, allocations: 18.33 kB / 0.7805 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002315/0.007267, allocations: 191.1 kB / 0.7807 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.28e-05/0.0073, allocations: 59.34 kB / 0.7807 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.09e-05/0.007321, allocations: 5.625 kB / 0.7807 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.079e-05/0.007382, allocations: 71.36 kB / 0.7808 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of SimCode: time 6.41e-07/0.007382, allocations: 0 / 0.7808 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of Templates: time 0.002397/0.009779, allocations: 0.9696 MB / 0.7817 GB, free: 14.25 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: 5.086066753603518]