Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.0009076/0.0009076, 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.001691/0.001691, 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 1.031/1.031, allocations: 177.1 MB / 204.6 MB, free: 5.492 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.884/1.884, allocations: 389.6 MB / 0.6354 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.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.7752 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.724e-05/1.9e-05, allocations: 6.25 kB / 0.7752 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001763/0.001782, allocations: 0.7974 MB / 0.776 GB, free: 4.57 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.003153, allocations: 1.119 MB / 0.7771 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.821e-05/0.003201, allocations: 4 kB / 0.7771 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.52e-05/0.003236, allocations: 12.39 kB / 0.7771 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.128e-05/0.003318, allocations: 9.062 kB / 0.7771 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.003578, allocations: 46.31 kB / 0.7772 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.003696, allocations: 84.41 kB / 0.7772 GB, free: 3.305 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.785e-05/0.003784, allocations: 16.11 kB / 0.7773 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.697e-05/0.003871, allocations: 47.88 kB / 0.7773 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.002e-05/0.003921, allocations: 20.89 kB / 0.7773 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.003937, allocations: 7.938 kB / 0.7773 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.608e-05/0.004013, allocations: 28.56 kB / 0.7774 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.004032, allocations: 7.984 kB / 0.7774 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.00406, allocations: 24.52 kB / 0.7774 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.004197, allocations: 64.44 kB / 0.7775 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.004199, allocations: 0 / 0.7775 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.51e-07/0.004199, allocations: 0.5625 kB / 0.7775 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.004203, allocations: 0 / 0.7775 GB, free: 3.09 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003426/0.004545, allocations: 270.1 kB / 0.7777 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.00458, allocations: 9.344 kB / 0.7777 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.004612, allocations: 8.922 kB / 0.7777 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.481e-05/0.004707, allocations: 118.8 kB / 0.7778 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.004718, allocations: 8.375 kB / 0.7779 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.004729, allocations: 4.375 kB / 0.7779 GB, free: 2.637 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.00484, allocations: 67.67 kB / 0.7779 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.004847, allocations: 192 / 0.7779 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.004855, allocations: 5.719 kB / 0.7779 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.004861, allocations: 4.125 kB / 0.7779 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.418e-05/0.004886, allocations: 15.88 kB / 0.7779 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003356/0.005221, allocations: 185.8 kB / 0.7781 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.97e-05/0.005291, allocations: 34.55 kB / 0.7782 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.863e-05/0.00531, allocations: 14.42 kB / 0.7782 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.005328, allocations: 128 / 0.7782 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.339e-05/0.005402, allocations: 63.33 kB / 0.7782 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.005403, allocations: 0 / 0.7782 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001579/0.00556, allocations: 58.42 kB / 0.7783 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.005596, allocations: 59.33 kB / 0.7783 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.984e-05/0.005676, allocations: 124.3 kB / 0.7785 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.005689, allocations: 25.7 kB / 0.7785 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/0.005727, allocations: 96.06 kB / 0.7786 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.005748, allocations: 23.83 kB / 0.7786 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.00579, allocations: 26.36 kB / 0.7786 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.013e-05/0.00587, allocations: 318.8 kB / 0.7789 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.088e-05/0.005891, allocations: 9.312 kB / 0.7789 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.409e-05/0.005935, allocations: 49.98 kB / 0.779 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.812e-05/0.006013, allocations: 79.86 kB / 0.7791 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.006015, allocations: 1.344 kB / 0.7791 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000106/0.006121, allocations: 74.19 kB / 0.7791 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.006134, allocations: 13.06 kB / 0.7791 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.006138, allocations: 0 / 0.7791 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.006152, allocations: 4 kB / 0.7792 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.129e-05/0.006243, allocations: 24.98 kB / 0.7792 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.277e-06/0.006246, allocations: 4.312 kB / 0.7792 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.792e-05/0.006294, allocations: 16.38 kB / 0.7792 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.006306, allocations: 8 kB / 0.7792 GB, free: 1.121 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$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): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.281e-05/0.006369, allocations: 114.6 kB / 0.7793 GB, free: 1 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.006381, allocations: 8.469 kB / 0.7793 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.77e-05/0.006409, allocations: 17.11 kB / 0.7793 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.006411, allocations: 0 / 0.7793 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.006412, allocations: 1.781 kB / 0.7793 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.006416, allocations: 3.984 kB / 0.7793 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.006617, allocations: 222.7 kB / 0.7796 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.006619, allocations: 3.938 kB / 0.7796 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.673e-05/0.006646, allocations: 7.984 kB / 0.7796 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.006647, allocations: 3.25 kB / 0.7796 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-06/0.006652, allocations: 0 / 0.7796 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.006653, allocations: 3.938 kB / 0.7796 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.006654, allocations: 0 / 0.7796 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.811e-05/0.006742, allocations: 147.5 kB / 0.7797 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.134e-05/0.006753, allocations: 11.89 kB / 0.7797 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.006765, allocations: 8 kB / 0.7797 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.198e-05/0.006817, allocations: 0 / 0.7797 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.719e-05/0.006845, allocations: 11.02 kB / 0.7797 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.006849, allocations: 0 / 0.7797 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.906e-05/0.006868, allocations: 21.48 kB / 0.7798 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.006868, allocations: 0 / 0.7798 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002078/0.007076, allocations: 16 kB / 0.7798 GB, free: 0.4922 MB / 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: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.499e-05/0.007171, allocations: 88.67 kB / 0.7799 GB, free: 404 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.943e-05/0.00727, allocations: 42.28 kB / 0.7799 GB, free: 360 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.007272, allocations: 0 / 0.7799 GB, free: 360 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.328e-05/0.007306, allocations: 21.97 kB / 0.7799 GB, free: 336 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.00754, allocations: 23.86 kB / 0.7799 GB, free: 312 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002147/0.007755, allocations: 162 kB / 0.7801 GB, free: 120 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.974e-05/0.007785, allocations: 64.56 kB / 0.7802 GB, free: 36 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.103e-05/0.007806, allocations: 4 kB / 0.7802 GB, free: 32 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.64e-05/0.007862, allocations: 67.31 kB / 0.7802 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.007863, allocations: 1.031 kB / 0.7802 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of Templates: time 0.002469/0.01033, allocations: 1.064 MB / 0.7813 GB, free: 14.96 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & (cd run_cvode && ../Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.848999293521047]