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.001285/0.001285, allocations: 80.92 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.001473/0.001473, allocations: 161 kB / 24.17 MB, free: 332 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.9742/0.9742, allocations: 177.2 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 2.003/2.003, allocations: 389.6 MB / 0.6354 GB, free: 12.3 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 2.945e-06/2.945e-06, allocations: 0 / 0.7752 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.854e-05, allocations: 2.844 kB / 0.7752 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Switch): time 0.002416/0.002445, allocations: 0.8751 MB / 0.7761 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001975/0.00442, allocations: 1.339 MB / 0.7774 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.423e-05/0.004504, allocations: 2.031 kB / 0.7774 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.849e-05/0.004553, allocations: 11.81 kB / 0.7774 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.004681, allocations: 28.12 kB / 0.7774 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009194/0.0056, allocations: 308.6 kB / 0.7777 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004901/0.00609, allocations: 303.9 kB / 0.778 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.006239, allocations: 34.14 kB / 0.778 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003071/0.006546, allocations: 172.8 kB / 0.7782 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.00674, allocations: 87.78 kB / 0.7783 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.521e-05/0.006795, allocations: 24 kB / 0.7783 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.006922, allocations: 37.17 kB / 0.7783 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.004e-05/0.006963, allocations: 27.91 kB / 0.7784 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.007072, allocations: 83.8 kB / 0.7785 GB, free: 2.074 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003338/0.007406, allocations: 224.7 kB / 0.7787 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.00741, allocations: 0 / 0.7787 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.433e-06/0.007411, allocations: 0 / 0.7787 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.007416, allocations: 3.938 kB / 0.7787 GB, free: 1.852 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.000547/0.007963, allocations: 422.4 kB / 0.7791 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.008002, allocations: 9.344 kB / 0.7791 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.072e-05/0.008073, allocations: 29.62 kB / 0.7791 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.008295, allocations: 154.7 kB / 0.7793 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.008321, allocations: 13.81 kB / 0.7793 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.008356, allocations: 20.38 kB / 0.7793 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.008485, allocations: 91.27 kB / 0.7794 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.008494, allocations: 0 / 0.7794 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.008503, allocations: 0.6562 kB / 0.7794 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.008511, allocations: 4 kB / 0.7794 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.604e-05/0.008557, allocations: 26.84 kB / 0.7794 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/0.009011, allocations: 253.7 kB / 0.7796 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.009167, allocations: 50.48 kB / 0.7797 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.245e-05/0.009199, allocations: 20.84 kB / 0.7797 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.009211, allocations: 0 / 0.7797 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001388/0.009349, allocations: 108.4 kB / 0.7798 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 1.934e-06/0.009351, allocations: 0 / 0.7798 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.0001989/0.00955, allocations: 104.8 kB / 0.7799 GB, free: 476 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.009583, allocations: 55.41 kB / 0.78 GB, free: 408 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.009688, allocations: 167.9 kB / 0.7801 GB, free: 232 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/0.009723, allocations: 37.7 kB / 0.7802 GB, free: 188 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.769e-05/0.009781, allocations: 100.6 kB / 0.7803 GB, free: 84 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.009809, allocations: 27.8 kB / 0.7803 GB, free: 56 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.009943, allocations: 73.62 kB / 0.7804 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.133e-05/0.01003, allocations: 326.8 kB / 0.7807 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.01018, allocations: 148.9 kB / 0.7808 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.01036, allocations: 195.8 kB / 0.781 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.01056, allocations: 213.7 kB / 0.7812 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.217e-06/0.01057, allocations: 0 / 0.7812 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004163/0.01098, allocations: 391.5 kB / 0.7816 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.354e-05/0.01106, allocations: 101.1 kB / 0.7817 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/0.01107, allocations: 5.188 kB / 0.7817 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.01109, allocations: 7.922 kB / 0.7817 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.468e-05/0.01115, allocations: 12 kB / 0.7817 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.01115, allocations: 0.5 kB / 0.7817 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002821/0.01144, allocations: 73.58 kB / 0.7818 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.01147, allocations: 11.98 kB / 0.7818 GB, free: 14.36 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 0.000106/0.01158, allocations: 132.2 kB / 0.7819 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.0116, allocations: 11.98 kB / 0.7819 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.993e-05/0.01164, allocations: 12.78 kB / 0.7819 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.01165, allocations: 7.922 kB / 0.7819 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.01165, allocations: 4 kB / 0.7819 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.01165, allocations: 1.094 kB / 0.7819 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.01178, allocations: 101.8 kB / 0.782 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.01179, allocations: 0.5 kB / 0.782 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.368e-05/0.01184, allocations: 15.92 kB / 0.7821 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.706e-06/0.01184, allocations: 1 kB / 0.7821 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.01185, allocations: 8 kB / 0.7821 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.01186, allocations: 4.953 kB / 0.7821 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01186, allocations: 0 / 0.7821 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.01201, allocations: 109 kB / 0.7822 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.781e-05/0.01203, allocations: 12.44 kB / 0.7822 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.01204, allocations: 8.938 kB / 0.7822 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.056e-05/0.01208, allocations: 0 / 0.7822 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.01211, allocations: 15.97 kB / 0.7822 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.01212, allocations: 8.812 kB / 0.7822 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.719e-05/0.01216, allocations: 26.7 kB / 0.7822 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01216, allocations: 0.5938 kB / 0.7822 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002605/0.01242, allocations: 48 kB / 0.7823 GB, free: 13.8 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.0001564/0.01258, allocations: 100.9 kB / 0.7824 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004051/0.01298, allocations: 392.9 kB / 0.7828 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.01299, allocations: 0 / 0.7828 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.227e-05/0.01305, allocations: 52.3 kB / 0.7828 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.01324, allocations: 26.03 kB / 0.7828 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000415/0.01365, allocations: 233.2 kB / 0.7831 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.179e-05/0.0137, allocations: 66.09 kB / 0.7831 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.369e-05/0.01374, allocations: 12.97 kB / 0.7831 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001872/0.01393, allocations: 99.33 kB / 0.7832 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of SimCode: time 7.31e-07/0.01393, allocations: 0 / 0.7832 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of Templates: time 0.007181/0.02111, allocations: 3.274 MB / 0.7864 GB, free: 9.648 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: 4.965120310895145]