Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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.001266/0.001266, 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.001437/0.001437, 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.9745/0.9745, allocations: 177.1 MB / 204.6 MB, free: 5.48 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.953/1.953, allocations: 389.6 MB / 0.6354 GB, free: 12.31 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.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.757e-06/3.757e-06, allocations: 0 / 0.7752 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.39e-05/3.766e-05, allocations: 5.828 kB / 0.7752 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001647/0.001685, allocations: 0.7461 MB / 0.7759 GB, free: 4.648 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00142/0.003105, allocations: 1.318 MB / 0.7772 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.013e-05/0.003155, allocations: 4 kB / 0.7772 GB, free: 3.316 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.473e-05/0.00319, allocations: 4.531 kB / 0.7772 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.003296, allocations: 24.08 kB / 0.7773 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006417/0.003938, allocations: 293.1 kB / 0.7775 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002674/0.004205, allocations: 261.5 kB / 0.7778 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.502e-05/0.0043, allocations: 24.09 kB / 0.7778 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.004455, allocations: 140.4 kB / 0.7779 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.004599, allocations: 80.92 kB / 0.778 GB, free: 2.523 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.044e-05/0.004639, allocations: 24 kB / 0.7781 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.00474, allocations: 32 kB / 0.7781 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.427e-05/0.004764, allocations: 9.703 kB / 0.7781 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.75e-05/0.004841, allocations: 79.86 kB / 0.7782 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.00507, allocations: 195.5 kB / 0.7784 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.005074, allocations: 0 / 0.7784 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.583e-06/0.005075, allocations: 0 / 0.7784 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.005081, allocations: 0.7812 kB / 0.7784 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004518/0.005533, allocations: 389.7 kB / 0.7787 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.005575, allocations: 10.19 kB / 0.7787 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.563e-05/0.00562, allocations: 16.92 kB / 0.7788 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.378e-05/0.005714, allocations: 124.8 kB / 0.7789 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.005737, allocations: 16.36 kB / 0.7789 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.00576, allocations: 12.38 kB / 0.7789 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.937e-05/0.00585, allocations: 62.94 kB / 0.779 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.006e-06/0.005858, allocations: 192 / 0.779 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-06/0.005865, allocations: 384 / 0.779 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.005874, allocations: 8.109 kB / 0.779 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.801e-05/0.005892, allocations: 11.98 kB / 0.779 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003051/0.006197, allocations: 215.7 kB / 0.7792 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.286e-05/0.00624, allocations: 18.58 kB / 0.7792 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.765e-05/0.006257, allocations: 16.94 kB / 0.7792 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.899e-06/0.006267, allocations: 0 / 0.7792 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000115/0.006382, allocations: 95.34 kB / 0.7793 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.673e-06/0.006384, allocations: 0 / 0.7793 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0001601/0.006544, allocations: 97.52 kB / 0.7794 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.006577, allocations: 55.41 kB / 0.7795 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.865e-05/0.006656, allocations: 134.5 kB / 0.7796 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.00668, allocations: 39.3 kB / 0.7796 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.006727, allocations: 100.1 kB / 0.7797 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.006743, allocations: 19.83 kB / 0.7797 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.122e-05/0.006814, allocations: 61.66 kB / 0.7798 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.358e-05/0.006897, allocations: 327.5 kB / 0.7801 GB, free: 244 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.007001, allocations: 141.1 kB / 0.7802 GB, free: 84 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.007136, allocations: 189.1 kB / 0.7804 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.00728, allocations: 211.5 kB / 0.7806 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.007285, allocations: 4 kB / 0.7806 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005565/0.007841, allocations: 369.1 kB / 0.781 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.836e-05/0.0079, allocations: 98.16 kB / 0.7811 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.007906, allocations: 7.938 kB / 0.7811 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.00792, allocations: 0 / 0.7811 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.491e-05/0.007945, allocations: 9.047 kB / 0.7811 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.00795, allocations: 4 kB / 0.7811 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.008151, allocations: 57.09 kB / 0.7811 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.008176, allocations: 21.09 kB / 0.7812 GB, free: 15 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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 8.675e-05/0.008263, allocations: 135.1 kB / 0.7813 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/0.008281, allocations: 8 kB / 0.7813 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.783e-05/0.008308, allocations: 17.83 kB / 0.7813 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.008312, allocations: 4 kB / 0.7813 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.008315, allocations: 4 kB / 0.7813 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.008318, allocations: 0 / 0.7813 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.417e-05/0.008402, allocations: 78.5 kB / 0.7814 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.008404, allocations: 0 / 0.7814 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.979e-06/0.008414, allocations: 4.531 kB / 0.7814 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.008416, allocations: 0.6562 kB / 0.7814 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.008423, allocations: 7.984 kB / 0.7814 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.008426, allocations: 5.125 kB / 0.7814 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.008428, allocations: 3.938 kB / 0.7814 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.008539, allocations: 97.02 kB / 0.7815 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.013e-05/0.008549, allocations: 8.828 kB / 0.7815 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.008559, allocations: 0 / 0.7815 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.504e-05/0.008574, allocations: 5.312 kB / 0.7815 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.742e-05/0.008602, allocations: 15.86 kB / 0.7815 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.008606, allocations: 0 / 0.7815 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.436e-05/0.008631, allocations: 27.52 kB / 0.7816 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008631, allocations: 1.125 kB / 0.7816 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001475/0.008778, allocations: 47.94 kB / 0.7816 GB, free: 14.51 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000126/0.008904, allocations: 89.2 kB / 0.7817 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002747/0.009179, allocations: 381.4 kB / 0.7821 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.009182, allocations: 0 / 0.7821 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.779e-05/0.00922, allocations: 37.66 kB / 0.7821 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.009375, allocations: 20 kB / 0.7821 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002845/0.009659, allocations: 186.5 kB / 0.7823 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.476e-05/0.009694, allocations: 63.34 kB / 0.7824 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.994e-05/0.009724, allocations: 5.906 kB / 0.7824 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.009846, allocations: 95.33 kB / 0.7825 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of SimCode: time 1.372e-06/0.009848, allocations: 0 / 0.7825 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of Templates: time 0.004768/0.01462, allocations: 3.158 MB / 0.7855 GB, free: 10.55 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & (cd run_cvode && ../Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.005366206169128]