Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.001719/0.001719, 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.002078/0.002078, 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.9767/0.9767, 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 1.944/1.944, allocations: 389.6 MB / 0.6354 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.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.7752 GB, free: 5.441 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.14e-05/1.282e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001278/0.001291, allocations: 0.8065 MB / 0.776 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.002552, allocations: 1.216 MB / 0.7772 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.115e-05/0.002603, allocations: 4 kB / 0.7772 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.362e-05/0.002637, allocations: 3.938 kB / 0.7772 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.849e-05/0.002715, allocations: 15.95 kB / 0.7772 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.003055, allocations: 136.3 kB / 0.7773 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.003201, allocations: 128.2 kB / 0.7774 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.16e-05/0.003282, allocations: 28.09 kB / 0.7775 GB, free: 3.133 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.386e-05/0.003376, allocations: 64.59 kB / 0.7775 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.881e-05/0.003455, allocations: 44.39 kB / 0.7776 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.003475, allocations: 12 kB / 0.7776 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.718e-05/0.003552, allocations: 33.42 kB / 0.7776 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.9e-05/0.003571, allocations: 11.94 kB / 0.7776 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.278e-05/0.003614, allocations: 39.95 kB / 0.7777 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.003778, allocations: 111.7 kB / 0.7778 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.00378, allocations: 0.9688 kB / 0.7778 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.01e-07/0.003781, allocations: 0 / 0.7778 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.003784, allocations: 0.5 kB / 0.7778 GB, free: 2.824 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003513/0.004136, allocations: 307.1 kB / 0.7781 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.004167, allocations: 9.344 kB / 0.7781 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.291e-05/0.00425, allocations: 21.45 kB / 0.7781 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.573e-05/0.004326, allocations: 121.6 kB / 0.7782 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.00434, allocations: 9.219 kB / 0.7782 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.004354, allocations: 8.375 kB / 0.7782 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.258e-05/0.004446, allocations: 71.89 kB / 0.7783 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.004453, allocations: 4.188 kB / 0.7783 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.961e-06/0.004459, allocations: 1.188 kB / 0.7783 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.004466, allocations: 4.125 kB / 0.7783 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.118e-05/0.004497, allocations: 12 kB / 0.7783 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002966/0.004794, allocations: 197.4 kB / 0.7785 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.208e-05/0.004856, allocations: 31.38 kB / 0.7785 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.5e-05/0.004871, allocations: 12.95 kB / 0.7785 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.004887, allocations: 5.344 kB / 0.7785 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.157e-05/0.004968, allocations: 75.42 kB / 0.7786 GB, free: 1.859 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.004969, allocations: 0 / 0.7786 GB, free: 1.859 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0001202/0.00509, allocations: 74.41 kB / 0.7787 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003213/0.005411, allocations: 55.34 kB / 0.7787 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.501e-05/0.005476, allocations: 123.6 kB / 0.7789 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.005492, allocations: 25.7 kB / 0.7789 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.005527, allocations: 101.8 kB / 0.779 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.005546, allocations: 23.78 kB / 0.779 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/0.005589, allocations: 37.69 kB / 0.779 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.592e-05/0.005655, allocations: 314.8 kB / 0.7793 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.382e-05/0.005698, allocations: 53.69 kB / 0.7794 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.435e-05/0.005753, allocations: 91.31 kB / 0.7795 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.858e-05/0.005831, allocations: 117 kB / 0.7796 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.005835, allocations: 4 kB / 0.7796 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000125/0.00596, allocations: 179.1 kB / 0.7798 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.005985, allocations: 33.69 kB / 0.7798 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.005989, allocations: 8.062 kB / 0.7798 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.006001, allocations: 4.734 kB / 0.7798 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.129e-05/0.006062, allocations: 12 kB / 0.7798 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.006066, allocations: 9.328 kB / 0.7798 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.57e-05/0.006142, allocations: 27.97 kB / 0.7799 GB, free: 476 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.006154, allocations: 4 kB / 0.7799 GB, free: 472 kB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 5.791e-05/0.006211, allocations: 130.4 kB / 0.78 GB, free: 336 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-06/0.00622, allocations: 9 kB / 0.78 GB, free: 328 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.384e-05/0.006294, allocations: 62.11 kB / 0.7801 GB, free: 264 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.006295, allocations: 0 / 0.7801 GB, free: 264 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.006297, allocations: 0.5 kB / 0.7801 GB, free: 264 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.0063, allocations: 4.891 kB / 0.7801 GB, free: 260 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.006426, allocations: 218.7 kB / 0.7803 GB, free: 16 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.006427, allocations: 0 / 0.7803 GB, free: 16 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.694e-05/0.006454, allocations: 16.55 kB / 0.7803 GB, free: 0 / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.006455, allocations: 0.5312 kB / 0.7803 GB, free: 0 / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.9e-06/0.00646, allocations: 0 / 0.7803 GB, free: 0 / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.006461, allocations: 0.6875 kB / 0.7803 GB, free: 0 / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.006461, allocations: 0 / 0.7803 GB, free: 0 / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.463e-05/0.006546, allocations: 160.9 kB / 0.7804 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-06/0.006553, allocations: 7.875 kB / 0.7804 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.006564, allocations: 8 kB / 0.7805 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.443e-05/0.006598, allocations: 3.984 kB / 0.7805 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/0.006625, allocations: 8.547 kB / 0.7805 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.006629, allocations: 3.25 kB / 0.7805 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.487e-05/0.006644, allocations: 16.86 kB / 0.7805 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006644, allocations: 0 / 0.7805 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001396/0.006783, allocations: 31.94 kB / 0.7805 GB, free: 15.75 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: 6 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * 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 7.985e-05/0.006863, allocations: 76.42 kB / 0.7806 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001426/0.007006, allocations: 157.8 kB / 0.7807 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.007008, allocations: 2.875 kB / 0.7807 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.921e-05/0.007037, allocations: 24.8 kB / 0.7808 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001242/0.007161, allocations: 20.8 kB / 0.7808 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003448/0.007506, allocations: 186.1 kB / 0.781 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.239e-05/0.007538, allocations: 63.34 kB / 0.781 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.898e-05/0.007557, allocations: 4 kB / 0.781 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.964e-05/0.007627, allocations: 68.48 kB / 0.7811 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.007627, allocations: 0 / 0.7811 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of Templates: time 0.00281/0.01044, allocations: 1.647 MB / 0.7827 GB, free: 13.54 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & (cd run_cvode && ../Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.988780973479152]