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.0009935/0.0009935, allocations: 80.8 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.000966/0.000966, 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.9501/0.9501, allocations: 177.2 MB / 204.6 MB, free: 5.473 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.924/1.924, allocations: 389.6 MB / 0.6354 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 177] 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.804e-06/1.804e-06, allocations: 0 / 0.7753 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.218e-05/2.399e-05, allocations: 6.312 kB / 0.7753 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001807/0.001831, allocations: 0.8306 MB / 0.7761 GB, free: 4.488 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.004571/0.006402, allocations: 1.199 MB / 0.7773 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.304e-05/0.006455, allocations: 0 / 0.7773 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.143e-05/0.006486, allocations: 3.938 kB / 0.7773 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.361e-05/0.00658, allocations: 21.62 kB / 0.7773 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004231/0.007003, allocations: 137.5 kB / 0.7774 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.007203, allocations: 127.9 kB / 0.7775 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.573e-05/0.007288, allocations: 16.61 kB / 0.7776 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.007411, allocations: 72.64 kB / 0.7776 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.664e-05/0.007508, allocations: 43.86 kB / 0.7777 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.007534, allocations: 13.47 kB / 0.7777 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.163e-05/0.007616, allocations: 23.98 kB / 0.7777 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.641e-05/0.007642, allocations: 11.94 kB / 0.7777 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.786e-05/0.00769, allocations: 35.95 kB / 0.7777 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.007855, allocations: 109.1 kB / 0.7778 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.007857, allocations: 0 / 0.7778 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.51e-07/0.007858, allocations: 0 / 0.7778 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.007861, allocations: 0 / 0.7778 GB, free: 2.695 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.003495/0.01136, allocations: 311.1 kB / 0.7781 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.0114, allocations: 9.844 kB / 0.7782 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.01144, allocations: 12.92 kB / 0.7782 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.01154, allocations: 123.5 kB / 0.7783 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.01156, allocations: 8.312 kB / 0.7783 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.01157, allocations: 4.375 kB / 0.7783 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.01171, allocations: 71.73 kB / 0.7784 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.01172, allocations: 8.109 kB / 0.7784 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.01173, allocations: 384 / 0.7784 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.01174, allocations: 5.125 kB / 0.7784 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.95e-05/0.01177, allocations: 11.92 kB / 0.7784 GB, free: 2.082 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003106/0.01208, allocations: 182.9 kB / 0.7786 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.485e-05/0.01212, allocations: 26.58 kB / 0.7786 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.272e-05/0.01215, allocations: 16.88 kB / 0.7786 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.01217, allocations: 0 / 0.7786 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.497e-05/0.01226, allocations: 59.39 kB / 0.7787 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.01226, allocations: 0 / 0.7787 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0001432/0.0124, allocations: 68.36 kB / 0.7787 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.01244, allocations: 55.34 kB / 0.7788 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9e-05/0.01253, allocations: 129.1 kB / 0.7789 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.01255, allocations: 29.7 kB / 0.7789 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.049e-05/0.0126, allocations: 100.1 kB / 0.779 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.01262, allocations: 7.906 kB / 0.779 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.784e-05/0.01268, allocations: 33.69 kB / 0.7791 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.891e-05/0.01278, allocations: 325.1 kB / 0.7794 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.053e-05/0.01285, allocations: 49.69 kB / 0.7794 GB, free: 0.9297 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.568e-05/0.01291, allocations: 68.25 kB / 0.7795 GB, free: 0.8477 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.808e-05/0.013, allocations: 88.17 kB / 0.7796 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.013, allocations: 256 / 0.7796 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001603/0.01316, allocations: 150.4 kB / 0.7797 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/0.0132, allocations: 37.69 kB / 0.7798 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.0132, allocations: 8.812 kB / 0.7798 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.01322, allocations: 4 kB / 0.7798 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.263e-05/0.0133, allocations: 12.55 kB / 0.7798 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.01331, allocations: 0 / 0.7798 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.01342, allocations: 34.42 kB / 0.7798 GB, free: 496 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.01343, allocations: 3.984 kB / 0.7798 GB, free: 492 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 8.196e-05/0.01351, allocations: 121.8 kB / 0.7799 GB, free: 360 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.094e-05/0.01353, allocations: 4 kB / 0.7799 GB, free: 356 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.446e-05/0.01356, allocations: 20.86 kB / 0.78 GB, free: 340 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.01356, allocations: 0 / 0.78 GB, free: 340 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.01356, allocations: 1.031 kB / 0.78 GB, free: 340 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.01357, allocations: 4 kB / 0.78 GB, free: 336 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.625e-05/0.01365, allocations: 73.88 kB / 0.78 GB, free: 244 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.01366, allocations: 0.5312 kB / 0.78 GB, free: 244 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.861e-05/0.01369, allocations: 13.11 kB / 0.78 GB, free: 232 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.0137, allocations: 4 kB / 0.78 GB, free: 228 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.0137, allocations: 0 / 0.78 GB, free: 228 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.0137, allocations: 0.8125 kB / 0.78 GB, free: 228 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.01371, allocations: 3.938 kB / 0.7801 GB, free: 224 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.801e-05/0.0138, allocations: 85.56 kB / 0.7801 GB, free: 120 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.017e-05/0.01381, allocations: 8.828 kB / 0.7801 GB, free: 112 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.01383, allocations: 0 / 0.7801 GB, free: 112 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.101e-05/0.01386, allocations: 8.547 kB / 0.7801 GB, free: 104 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.01389, allocations: 11.94 kB / 0.7802 GB, free: 92 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.0139, allocations: 4.641 kB / 0.7802 GB, free: 88 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.055e-05/0.01392, allocations: 12.86 kB / 0.7802 GB, free: 72 kB / 0.7292 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01392, allocations: 0.6875 kB / 0.7802 GB, free: 72 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001671/0.01409, allocations: 20 kB / 0.7802 GB, free: 52 kB / 0.7292 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.0001373/0.01423, allocations: 93.53 kB / 0.7803 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001715/0.0144, allocations: 146.6 kB / 0.7804 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.0144, allocations: 0 / 0.7804 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.917e-05/0.01443, allocations: 18.03 kB / 0.7804 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001092/0.01454, allocations: 20.55 kB / 0.7805 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002629/0.0148, allocations: 161.3 kB / 0.7806 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.497e-05/0.01484, allocations: 61.08 kB / 0.7807 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.46e-05/0.01486, allocations: 3.984 kB / 0.7807 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.778e-05/0.01494, allocations: 67.36 kB / 0.7807 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/0.01494, allocations: 5.031 kB / 0.7807 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of Templates: time 0.003278/0.01822, allocations: 1.744 MB / 0.7825 GB, free: 13.77 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 & (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: 5.141088996082544]