Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.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.00103/0.00103, allocations: 84.86 kB / 21.62 MB, free: 2.836 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.001017/0.001017, allocations: 164.2 kB / 25.04 MB, free: 9.152 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 1.018/1.018, allocations: 177.1 MB / 205.5 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.987/1.987, allocations: 389.6 MB / 0.6363 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.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.956e-06/2.956e-06, allocations: 0 / 0.7762 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.738e-05, allocations: 5.688 kB / 0.7762 GB, free: 5.246 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001686/0.001713, allocations: 0.8277 MB / 0.777 GB, free: 4.441 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.003057, allocations: 1.196 MB / 0.7782 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.96e-05/0.003107, allocations: 0 / 0.7782 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.953e-05/0.003146, allocations: 6.844 kB / 0.7782 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.29e-05/0.003229, allocations: 21.28 kB / 0.7782 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004022/0.003631, allocations: 128.5 kB / 0.7783 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.003788, allocations: 130.5 kB / 0.7785 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.423e-05/0.003862, allocations: 19.72 kB / 0.7785 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.003978, allocations: 75.88 kB / 0.7785 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.009e-05/0.004058, allocations: 39.92 kB / 0.7786 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.00408, allocations: 12 kB / 0.7786 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.093e-05/0.004151, allocations: 23.94 kB / 0.7786 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.152e-05/0.004173, allocations: 11.98 kB / 0.7786 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.004212, allocations: 39.89 kB / 0.7787 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.004349, allocations: 103.7 kB / 0.7788 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.004353, allocations: 0 / 0.7788 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.453e-06/0.004354, allocations: 0 / 0.7788 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.004358, allocations: 0 / 0.7788 GB, free: 2.656 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.0003947/0.004753, allocations: 311.7 kB / 0.7791 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.004787, allocations: 13.34 kB / 0.7791 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.004824, allocations: 9.516 kB / 0.7791 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.48e-05/0.004919, allocations: 129.7 kB / 0.7792 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.004933, allocations: 5.844 kB / 0.7792 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.004948, allocations: 4.375 kB / 0.7792 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.005065, allocations: 74.91 kB / 0.7793 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.005072, allocations: 1.188 kB / 0.7793 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.005079, allocations: 384 / 0.7793 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.005085, allocations: 4.375 kB / 0.7793 GB, free: 2.055 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.5e-05/0.00511, allocations: 20.58 kB / 0.7793 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002391/0.005349, allocations: 180.8 kB / 0.7795 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.205e-05/0.005391, allocations: 22.58 kB / 0.7795 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.636e-05/0.005408, allocations: 9.766 kB / 0.7795 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.005424, allocations: 3.938 kB / 0.7795 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.42e-05/0.005508, allocations: 64.78 kB / 0.7796 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.005509, allocations: 0 / 0.7796 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0001281/0.005637, allocations: 65.61 kB / 0.7796 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.005669, allocations: 56.16 kB / 0.7797 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.711e-05/0.005736, allocations: 129 kB / 0.7798 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.005753, allocations: 31.11 kB / 0.7799 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.876e-05/0.005792, allocations: 96.08 kB / 0.7799 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.005808, allocations: 15.83 kB / 0.78 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.908e-05/0.005857, allocations: 33.69 kB / 0.78 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.477e-05/0.005931, allocations: 315.4 kB / 0.7803 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.19e-05/0.005983, allocations: 54.62 kB / 0.7803 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.171e-05/0.006035, allocations: 72.25 kB / 0.7804 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.344e-05/0.006108, allocations: 89.89 kB / 0.7805 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.006111, allocations: 3.938 kB / 0.7805 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001372/0.006248, allocations: 153 kB / 0.7807 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.006278, allocations: 38.22 kB / 0.7807 GB, free: 496 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.006284, allocations: 5.531 kB / 0.7807 GB, free: 492 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/0.006292, allocations: 0 / 0.7807 GB, free: 492 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.401e-05/0.006366, allocations: 16 kB / 0.7807 GB, free: 476 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.006371, allocations: 3.984 kB / 0.7807 GB, free: 472 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.196e-05/0.006453, allocations: 20.73 kB / 0.7807 GB, free: 452 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.006466, allocations: 8.984 kB / 0.7807 GB, free: 444 kB / 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: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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 6.996e-05/0.006536, allocations: 113.8 kB / 0.7808 GB, free: 320 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.457e-06/0.006546, allocations: 9.125 kB / 0.7809 GB, free: 312 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.47e-05/0.006571, allocations: 20.36 kB / 0.7809 GB, free: 296 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.006572, allocations: 0 / 0.7809 GB, free: 296 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.006574, allocations: 0.8125 kB / 0.7809 GB, free: 296 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.006578, allocations: 0 / 0.7809 GB, free: 296 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.382e-05/0.006652, allocations: 79.22 kB / 0.781 GB, free: 200 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.006653, allocations: 0 / 0.781 GB, free: 200 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.451e-05/0.006688, allocations: 11.98 kB / 0.781 GB, free: 188 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.006689, allocations: 1.125 kB / 0.781 GB, free: 188 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.006695, allocations: 4.312 kB / 0.781 GB, free: 184 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.006697, allocations: 4 kB / 0.781 GB, free: 180 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.006699, allocations: 5 kB / 0.781 GB, free: 176 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.935e-05/0.006789, allocations: 77.11 kB / 0.7811 GB, free: 80 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.1e-05/0.0068, allocations: 11.94 kB / 0.7811 GB, free: 68 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.716e-06/0.006808, allocations: 0.5 kB / 0.7811 GB, free: 68 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.296e-05/0.006831, allocations: 8.844 kB / 0.7811 GB, free: 60 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.006866, allocations: 11.92 kB / 0.7811 GB, free: 48 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.006871, allocations: 7.984 kB / 0.7811 GB, free: 40 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.149e-05/0.006893, allocations: 16.36 kB / 0.7811 GB, free: 24 kB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.006893, allocations: 0.5312 kB / 0.7811 GB, free: 24 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001501/0.007043, allocations: 27.98 kB / 0.7811 GB, free: 15.99 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001528/0.007196, allocations: 82.39 kB / 0.7812 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001708/0.007366, allocations: 141.9 kB / 0.7813 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.00737, allocations: 0 / 0.7813 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.266e-05/0.007402, allocations: 29.45 kB / 0.7814 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001125/0.007515, allocations: 19.17 kB / 0.7814 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002644/0.007779, allocations: 156.3 kB / 0.7815 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.89e-05/0.007808, allocations: 59.36 kB / 0.7816 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.763e-05/0.007836, allocations: 10.83 kB / 0.7816 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.928e-05/0.007915, allocations: 63.36 kB / 0.7817 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of SimCode: time 9.52e-07/0.007916, allocations: 0 / 0.7817 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of Templates: time 0.004094/0.01201, allocations: 1.746 MB / 0.7834 GB, free: 13.73 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.148766092956066]