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.00139/0.00139, allocations: 80.88 kB / 20.82 MB, free: 3.629 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.001511/0.001511, allocations: 165 kB / 24.25 MB, free: 212 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.9171/0.9171, allocations: 177.2 MB / 204.7 MB, free: 5.461 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.939/1.939, allocations: 389.6 MB / 0.6355 GB, free: 12.29 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 1.913e-06/1.913e-06, allocations: 0 / 0.7754 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.898e-05/2.089e-05, allocations: 6.312 kB / 0.7754 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001601/0.001622, allocations: 0.8783 MB / 0.7762 GB, free: 4.43 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.002925, allocations: 1.325 MB / 0.7775 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.179e-05/0.002987, allocations: 0.5938 kB / 0.7775 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.989e-05/0.003027, allocations: 12.45 kB / 0.7775 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.794e-05/0.003115, allocations: 23.41 kB / 0.7776 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006037/0.003719, allocations: 310.3 kB / 0.7779 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002666/0.003985, allocations: 307.5 kB / 0.7782 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.82e-05/0.004073, allocations: 34.19 kB / 0.7782 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.004223, allocations: 159.8 kB / 0.7783 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.004348, allocations: 84.56 kB / 0.7784 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.385e-05/0.004382, allocations: 28 kB / 0.7784 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.155e-05/0.004464, allocations: 40.52 kB / 0.7785 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.332e-05/0.004487, allocations: 21.48 kB / 0.7785 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.565e-05/0.004553, allocations: 91.78 kB / 0.7786 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.004759, allocations: 223.4 kB / 0.7788 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.004762, allocations: 0 / 0.7788 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.234e-06/0.004764, allocations: 3.984 kB / 0.7788 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.004768, allocations: 0.9688 kB / 0.7788 GB, free: 1.805 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.0004219/0.00519, allocations: 429.4 kB / 0.7792 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.005223, allocations: 9.844 kB / 0.7792 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.775e-05/0.005271, allocations: 29.66 kB / 0.7793 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.005433, allocations: 150.7 kB / 0.7794 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.005455, allocations: 18.55 kB / 0.7794 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.00548, allocations: 16.38 kB / 0.7794 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.756e-05/0.005577, allocations: 91.27 kB / 0.7795 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.005584, allocations: 0 / 0.7795 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.005593, allocations: 4 kB / 0.7795 GB, free: 1.004 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.0056, allocations: 4 kB / 0.7795 GB, free: 1 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.159e-05/0.005631, allocations: 24.97 kB / 0.7796 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003092/0.00594, allocations: 259.9 kB / 0.7798 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.006056, allocations: 46.55 kB / 0.7798 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.876e-05/0.006075, allocations: 20.78 kB / 0.7799 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.873e-06/0.006082, allocations: 0 / 0.7799 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001089/0.006191, allocations: 103.4 kB / 0.78 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 1.052e-06/0.006192, allocations: 6.812 kB / 0.78 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.0001519/0.006344, allocations: 105.6 kB / 0.7801 GB, free: 416 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.006377, allocations: 63.39 kB / 0.7801 GB, free: 340 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.519e-05/0.006453, allocations: 152.4 kB / 0.7803 GB, free: 176 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.006477, allocations: 37.7 kB / 0.7803 GB, free: 132 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.219e-05/0.006519, allocations: 100.6 kB / 0.7804 GB, free: 28 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.006551, allocations: 35.89 kB / 0.7804 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.665e-05/0.006628, allocations: 75.33 kB / 0.7805 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.26e-05/0.006701, allocations: 322.8 kB / 0.7808 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.006809, allocations: 156.9 kB / 0.781 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.006923, allocations: 191.9 kB / 0.7812 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.007069, allocations: 227.5 kB / 0.7814 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.007074, allocations: 4 kB / 0.7814 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002712/0.007345, allocations: 385.4 kB / 0.7817 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.708e-05/0.007402, allocations: 102.2 kB / 0.7818 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.007409, allocations: 4 kB / 0.7818 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.007422, allocations: 3.75 kB / 0.7819 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.712e-05/0.007469, allocations: 16.59 kB / 0.7819 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.007475, allocations: 7.984 kB / 0.7819 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.007661, allocations: 61.66 kB / 0.7819 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.007687, allocations: 19.98 kB / 0.782 GB, free: 14.29 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.0001005/0.007787, allocations: 135 kB / 0.7821 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.007802, allocations: 8.625 kB / 0.7821 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.857e-05/0.00783, allocations: 20.75 kB / 0.7821 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.007834, allocations: 8.844 kB / 0.7821 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.007836, allocations: 0 / 0.7821 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.00784, allocations: 0.9375 kB / 0.7821 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.199e-05/0.007922, allocations: 93.84 kB / 0.7822 GB, free: 14 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.007923, allocations: 0 / 0.7822 GB, free: 14 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.705e-05/0.00795, allocations: 12.53 kB / 0.7822 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.007954, allocations: 9.75 kB / 0.7822 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.00796, allocations: 0 / 0.7822 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.007963, allocations: 7.969 kB / 0.7822 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.007964, allocations: 0 / 0.7822 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.008068, allocations: 115.7 kB / 0.7823 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.031e-05/0.008078, allocations: 12.47 kB / 0.7824 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.008088, allocations: 0 / 0.7824 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.513e-05/0.008103, allocations: 6.797 kB / 0.7824 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.008132, allocations: 15.92 kB / 0.7824 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.008137, allocations: 4 kB / 0.7824 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.263e-05/0.00816, allocations: 30.7 kB / 0.7824 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00816, allocations: 0 / 0.7824 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000152/0.008312, allocations: 55.92 kB / 0.7825 GB, free: 13.72 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.0001259/0.008438, allocations: 86.52 kB / 0.7825 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002864/0.008724, allocations: 407.9 kB / 0.7829 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.008728, allocations: 0 / 0.7829 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.701e-05/0.008765, allocations: 40.77 kB / 0.783 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.008911, allocations: 33.42 kB / 0.783 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003282/0.009239, allocations: 234.3 kB / 0.7832 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.479e-05/0.009274, allocations: 67.34 kB / 0.7833 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.887e-05/0.009303, allocations: 9.922 kB / 0.7833 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.009431, allocations: 99.27 kB / 0.7834 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of SimCode: time 8.22e-07/0.009432, allocations: 0 / 0.7834 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of Templates: time 0.00484/0.01427, allocations: 3.27 MB / 0.7866 GB, free: 9.57 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 & ./Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.168325548991561]