Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Integers.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.0008707/0.0008707, allocations: 91.67 kB / 20.95 MB, free: 3.301 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.003461/0.003461, allocations: 158.6 kB / 24.38 MB, free: 9.148 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.9128/0.9128, allocations: 177.1 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.94/1.94, allocations: 389.6 MB / 0.6356 GB, free: 12.2 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.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.055e-06/3.055e-06, allocations: 0.6562 kB / 0.7756 GB, free: 5.137 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.168e-05/3.473e-05, allocations: 2.312 kB / 0.7756 GB, free: 5.133 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Switch): time 0.002799/0.002834, allocations: 0.8775 MB / 0.7764 GB, free: 4.281 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001736/0.00457, allocations: 1.327 MB / 0.7777 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.807e-05/0.004628, allocations: 0 / 0.7777 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.308e-05/0.004671, allocations: 17.11 kB / 0.7778 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.98e-05/0.00474, allocations: 21.98 kB / 0.7778 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004942/0.005235, allocations: 300.9 kB / 0.7781 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.005453, allocations: 303.6 kB / 0.7784 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.174e-05/0.005525, allocations: 34.73 kB / 0.7784 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.005673, allocations: 168.3 kB / 0.7785 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.005782, allocations: 91.77 kB / 0.7786 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.005811, allocations: 25.5 kB / 0.7787 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.491e-05/0.005876, allocations: 36 kB / 0.7787 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.166e-05/0.005898, allocations: 23.91 kB / 0.7787 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.562e-05/0.005963, allocations: 83.86 kB / 0.7788 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.006152, allocations: 224.4 kB / 0.779 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.006154, allocations: 0 / 0.779 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.173e-06/0.006155, allocations: 0 / 0.779 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.006159, allocations: 0.7812 kB / 0.779 GB, free: 1.664 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0003838/0.006543, allocations: 437.3 kB / 0.7794 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.851e-05/0.006572, allocations: 10.41 kB / 0.7794 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.105e-05/0.006623, allocations: 24.91 kB / 0.7795 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.006778, allocations: 151.6 kB / 0.7796 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.006798, allocations: 12.38 kB / 0.7796 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.006827, allocations: 20.36 kB / 0.7796 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.285e-05/0.00692, allocations: 93.34 kB / 0.7797 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.006927, allocations: 0 / 0.7797 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.054e-06/0.006934, allocations: 4 kB / 0.7797 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.00694, allocations: 4.531 kB / 0.7797 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.026e-05/0.00697, allocations: 25.05 kB / 0.7798 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002758/0.007246, allocations: 260 kB / 0.78 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.00735, allocations: 51.89 kB / 0.7801 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.653e-05/0.007367, allocations: 12.86 kB / 0.7801 GB, free: 500 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.211e-06/0.007373, allocations: 0 / 0.7801 GB, free: 500 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.418e-05/0.007467, allocations: 104.2 kB / 0.7802 GB, free: 384 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 8.82e-07/0.007468, allocations: 0 / 0.7802 GB, free: 384 kB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.000141/0.007609, allocations: 107.2 kB / 0.7803 GB, free: 272 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.007639, allocations: 63.39 kB / 0.7803 GB, free: 196 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.996e-05/0.007709, allocations: 152 kB / 0.7805 GB, free: 32 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/0.007745, allocations: 41.77 kB / 0.7805 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.249e-05/0.007787, allocations: 104.4 kB / 0.7806 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.007805, allocations: 32.38 kB / 0.7806 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.159e-05/0.007877, allocations: 74.95 kB / 0.7807 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.174e-05/0.007948, allocations: 326.8 kB / 0.781 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.916e-05/0.008048, allocations: 152.9 kB / 0.7812 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.008159, allocations: 195.9 kB / 0.7814 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.008305, allocations: 232.6 kB / 0.7816 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.008307, allocations: 0 / 0.7816 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003381/0.008645, allocations: 389.4 kB / 0.782 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.416e-05/0.008689, allocations: 101.1 kB / 0.782 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.008693, allocations: 1.062 kB / 0.7821 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.008703, allocations: 7.938 kB / 0.7821 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.293e-05/0.008736, allocations: 8 kB / 0.7821 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.00874, allocations: 4.5 kB / 0.7821 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.008902, allocations: 65.61 kB / 0.7821 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.008924, allocations: 23.92 kB / 0.7822 GB, free: 14.14 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: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * 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 7.687e-05/0.009001, allocations: 131.6 kB / 0.7823 GB, free: 14 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.141e-05/0.009013, allocations: 9.375 kB / 0.7823 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.357e-05/0.009036, allocations: 16.77 kB / 0.7823 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.00904, allocations: 7.938 kB / 0.7823 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.009042, allocations: 1.5 kB / 0.7823 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.009045, allocations: 0 / 0.7823 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.678e-05/0.009122, allocations: 93.84 kB / 0.7824 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.009123, allocations: 0 / 0.7824 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.273e-05/0.009146, allocations: 20 kB / 0.7824 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.009147, allocations: 4.906 kB / 0.7824 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.528e-06/0.009151, allocations: 0 / 0.7824 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.009152, allocations: 0.8438 kB / 0.7824 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.009153, allocations: 0 / 0.7824 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.565e-05/0.009238, allocations: 117 kB / 0.7825 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.005e-05/0.009248, allocations: 12.5 kB / 0.7826 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.937e-06/0.009257, allocations: 0.5938 kB / 0.7826 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.382e-05/0.009271, allocations: 3.984 kB / 0.7826 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.317e-05/0.009294, allocations: 15.23 kB / 0.7826 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.0093, allocations: 7.938 kB / 0.7826 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.385e-05/0.009324, allocations: 34.89 kB / 0.7826 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009324, allocations: 0 / 0.7826 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001459/0.00947, allocations: 55.92 kB / 0.7827 GB, free: 13.57 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: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0001059/0.009576, allocations: 83.2 kB / 0.7827 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002401/0.009816, allocations: 409.2 kB / 0.7831 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.009819, allocations: 4 kB / 0.7831 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.101e-05/0.00985, allocations: 32.78 kB / 0.7832 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001229/0.009973, allocations: 37.73 kB / 0.7832 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002446/0.01022, allocations: 229.2 kB / 0.7834 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.187e-05/0.01025, allocations: 71.33 kB / 0.7835 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.256e-05/0.01027, allocations: 10.11 kB / 0.7835 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.01039, allocations: 99.27 kB / 0.7836 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.01039, allocations: 5.031 kB / 0.7836 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of Templates: time 0.004103/0.0145, allocations: 3.278 MB / 0.7868 GB, free: 9.418 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.sim & (cd run_cvode && ../Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.087674118578434]