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.00105/0.00105, 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.004356/0.004356, allocations: 162 kB / 24.38 MB, free: 8.586 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.9458/0.9458, allocations: 177.1 MB / 204.8 MB, free: 5.055 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.895/1.895, allocations: 389.6 MB / 0.6356 GB, free: 12.23 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 1.663e-06/1.663e-06, allocations: 0 / 0.7756 GB, free: 5.086 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.876e-05/2.042e-05, allocations: 2.312 kB / 0.7756 GB, free: 5.082 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001537/0.001558, allocations: 0.8462 MB / 0.7765 GB, free: 4.262 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.002857, allocations: 1.196 MB / 0.7776 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.009e-05/0.002907, allocations: 1.406 kB / 0.7776 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.736e-05/0.002944, allocations: 4.922 kB / 0.7776 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.505e-05/0.003029, allocations: 16.94 kB / 0.7776 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003644/0.003393, allocations: 134.2 kB / 0.7778 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.003555, allocations: 129 kB / 0.7779 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.537e-05/0.00364, allocations: 23.95 kB / 0.7779 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.003747, allocations: 63.95 kB / 0.778 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.942e-05/0.003826, allocations: 46.61 kB / 0.778 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.003847, allocations: 12 kB / 0.778 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.568e-05/0.003913, allocations: 23.98 kB / 0.7781 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.221e-05/0.003935, allocations: 11.94 kB / 0.7781 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.254e-05/0.003978, allocations: 35.95 kB / 0.7781 GB, free: 2.582 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.004109, allocations: 103.7 kB / 0.7782 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.004111, allocations: 0 / 0.7782 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.41e-07/0.004112, allocations: 3.344 kB / 0.7782 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.004115, allocations: 0 / 0.7782 GB, free: 2.48 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.0003998/0.004515, allocations: 310.4 kB / 0.7785 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.004549, allocations: 9.344 kB / 0.7785 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.004583, allocations: 12.92 kB / 0.7785 GB, free: 2.125 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.098e-05/0.004664, allocations: 117.7 kB / 0.7786 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.004675, allocations: 4.375 kB / 0.7786 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.004693, allocations: 12.38 kB / 0.7787 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003806/0.005074, allocations: 71.97 kB / 0.7787 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.005081, allocations: 4.188 kB / 0.7787 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.005089, allocations: 4.375 kB / 0.7787 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.005094, allocations: 1.438 kB / 0.7787 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.449e-05/0.005118, allocations: 15.92 kB / 0.7787 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002309/0.005349, allocations: 172.7 kB / 0.7789 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.184e-05/0.005391, allocations: 27.3 kB / 0.7789 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.693e-05/0.005408, allocations: 12.94 kB / 0.7789 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.005421, allocations: 9 kB / 0.779 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.365e-05/0.005494, allocations: 59.39 kB / 0.779 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.864e-06/0.005496, allocations: 3.984 kB / 0.779 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0001206/0.005617, allocations: 66.42 kB / 0.7791 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.005649, allocations: 55.41 kB / 0.7791 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.382e-05/0.005712, allocations: 128 kB / 0.7793 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.005728, allocations: 29.7 kB / 0.7793 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.987e-05/0.005768, allocations: 96.02 kB / 0.7794 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.005787, allocations: 20.42 kB / 0.7794 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.254e-05/0.00583, allocations: 29.69 kB / 0.7794 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.396e-05/0.005904, allocations: 324.4 kB / 0.7797 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.756e-05/0.005951, allocations: 49.69 kB / 0.7798 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.127e-05/0.006003, allocations: 68.27 kB / 0.7798 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.321e-05/0.006076, allocations: 88.81 kB / 0.7799 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.006077, allocations: 1.312 kB / 0.7799 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001283/0.006206, allocations: 153 kB / 0.7801 GB, free: 368 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.006232, allocations: 39.22 kB / 0.7801 GB, free: 324 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.006238, allocations: 7.938 kB / 0.7801 GB, free: 316 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.215e-06/0.006246, allocations: 320 / 0.7801 GB, free: 316 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.796e-05/0.006314, allocations: 11.98 kB / 0.7801 GB, free: 304 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.297e-06/0.006318, allocations: 5.406 kB / 0.7801 GB, free: 300 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.981e-05/0.006397, allocations: 31.97 kB / 0.7802 GB, free: 268 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.006411, allocations: 4.656 kB / 0.7802 GB, free: 264 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.166e-05/0.006472, allocations: 118.4 kB / 0.7803 GB, free: 136 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.398e-06/0.006482, allocations: 7.984 kB / 0.7803 GB, free: 128 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.064e-05/0.006502, allocations: 12.94 kB / 0.7803 GB, free: 120 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.006504, allocations: 1.781 kB / 0.7803 GB, free: 120 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.006505, allocations: 4 kB / 0.7803 GB, free: 116 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.006508, allocations: 0 / 0.7803 GB, free: 116 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.335e-05/0.006572, allocations: 73.88 kB / 0.7804 GB, free: 24 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.006573, allocations: 4 kB / 0.7804 GB, free: 20 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.974e-05/0.006603, allocations: 13.11 kB / 0.7804 GB, free: 8 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.006604, allocations: 0 / 0.7804 GB, free: 8 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-06/0.006608, allocations: 0 / 0.7804 GB, free: 8 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.006609, allocations: 1.094 kB / 0.7804 GB, free: 8 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.00661, allocations: 7.875 kB / 0.7804 GB, free: 0 / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.791e-05/0.006698, allocations: 81.05 kB / 0.7805 GB, free: 15.9 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 8.917e-06/0.006707, allocations: 13.11 kB / 0.7805 GB, free: 15.89 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.348e-06/0.006717, allocations: 0 / 0.7805 GB, free: 15.89 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.325e-05/0.00674, allocations: 11.98 kB / 0.7805 GB, free: 15.88 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.094e-05/0.006771, allocations: 12.95 kB / 0.7805 GB, free: 15.87 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.006774, allocations: 0 / 0.7805 GB, free: 15.87 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 1.64e-05/0.006791, allocations: 23.2 kB / 0.7805 GB, free: 15.84 MB / 0.7449 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006791, allocations: 1.312 kB / 0.7805 GB, free: 15.84 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0001158/0.006907, allocations: 28 kB / 0.7806 GB, free: 15.82 MB / 0.7449 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 9.05e-05/0.006997, allocations: 77.45 kB / 0.7806 GB, free: 15.73 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0001448/0.007142, allocations: 141.9 kB / 0.7808 GB, free: 15.57 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.007144, allocations: 1.375 kB / 0.7808 GB, free: 15.57 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 2.919e-05/0.007173, allocations: 21.03 kB / 0.7808 GB, free: 15.55 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001053/0.007278, allocations: 21.61 kB / 0.7808 GB, free: 15.53 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002483/0.007527, allocations: 161.3 kB / 0.781 GB, free: 15.34 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.015e-05/0.007557, allocations: 63.28 kB / 0.781 GB, free: 15.26 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 2.368e-05/0.007581, allocations: 4.812 kB / 0.781 GB, free: 15.26 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.624e-05/0.007657, allocations: 72.02 kB / 0.7811 GB, free: 15.19 MB / 0.7449 GB Notification: Performance of SimCode: time 5.41e-07/0.007657, allocations: 0 / 0.7811 GB, free: 15.19 MB / 0.7449 GB Notification: Performance of Templates: time 0.003015/0.01067, allocations: 1.751 MB / 0.7828 GB, free: 13.54 MB / 0.7449 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 & (cd run_cvode && ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.931619863957167]