Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.001421/0.001421, 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.01213/0.01213, 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.9975/0.9975, allocations: 177.1 MB / 204.8 MB, free: 5.051 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.917/1.917, allocations: 389.6 MB / 0.6356 GB, free: 12.22 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.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.7756 GB, free: 5.137 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.517e-05, allocations: 3.188 kB / 0.7756 GB, free: 5.133 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002334/0.00236, allocations: 0.7998 MB / 0.7764 GB, free: 4.352 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001567/0.003927, allocations: 1.181 MB / 0.7775 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.917e-05/0.003986, allocations: 5.062 kB / 0.7775 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.039e-05/0.004026, allocations: 7.922 kB / 0.7775 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.499e-05/0.004121, allocations: 11.81 kB / 0.7775 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004123/0.004534, allocations: 128.8 kB / 0.7777 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.004688, allocations: 117.3 kB / 0.7778 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.266e-05/0.00476, allocations: 11.97 kB / 0.7778 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.004864, allocations: 67.02 kB / 0.7778 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.333e-05/0.004937, allocations: 40.8 kB / 0.7779 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.004958, allocations: 15.94 kB / 0.7779 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.992e-05/0.005027, allocations: 20.72 kB / 0.7779 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.97e-05/0.005047, allocations: 15.92 kB / 0.7779 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.729e-05/0.005094, allocations: 36.64 kB / 0.778 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.005234, allocations: 91.75 kB / 0.7781 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.005237, allocations: 1.719 kB / 0.7781 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.032e-06/0.005238, allocations: 0 / 0.7781 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.005243, allocations: 0 / 0.7781 GB, free: 2.625 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.00037/0.005613, allocations: 302.4 kB / 0.7783 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.005648, allocations: 10.41 kB / 0.7784 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.292e-05/0.005681, allocations: 12.92 kB / 0.7784 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.328e-05/0.005764, allocations: 117.7 kB / 0.7785 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.005778, allocations: 8.938 kB / 0.7785 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.005794, allocations: 11.84 kB / 0.7785 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.398e-05/0.005888, allocations: 58.94 kB / 0.7786 GB, free: 2.055 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.005895, allocations: 4.188 kB / 0.7786 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.005904, allocations: 4.359 kB / 0.7786 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.005909, allocations: 384 / 0.7786 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.191e-05/0.005931, allocations: 11.94 kB / 0.7786 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002438/0.006174, allocations: 180.2 kB / 0.7787 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.498e-05/0.006249, allocations: 30.56 kB / 0.7788 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.861e-05/0.006268, allocations: 19.73 kB / 0.7788 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.006275, allocations: 3.938 kB / 0.7788 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.518e-05/0.00636, allocations: 75.38 kB / 0.7789 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.572e-06/0.006362, allocations: 0 / 0.7789 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.000122/0.006484, allocations: 73.59 kB / 0.7789 GB, free: 1.617 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.006514, allocations: 55.41 kB / 0.779 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.565e-05/0.00657, allocations: 124.1 kB / 0.7791 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.006586, allocations: 29.7 kB / 0.7791 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.437e-05/0.00662, allocations: 92.11 kB / 0.7792 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.006637, allocations: 15.91 kB / 0.7792 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.006681, allocations: 35.5 kB / 0.7793 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.427e-05/0.006755, allocations: 322.8 kB / 0.7796 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.033e-05/0.006805, allocations: 53.69 kB / 0.7796 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.574e-05/0.006861, allocations: 96.89 kB / 0.7797 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.606e-05/0.006937, allocations: 103.4 kB / 0.7798 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.006939, allocations: 1.062 kB / 0.7798 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001443/0.007083, allocations: 169.8 kB / 0.78 GB, free: 444 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.007114, allocations: 40.2 kB / 0.78 GB, free: 400 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.007119, allocations: 3.938 kB / 0.78 GB, free: 396 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.007128, allocations: 8.516 kB / 0.78 GB, free: 388 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.852e-05/0.007187, allocations: 8.938 kB / 0.78 GB, free: 380 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.00719, allocations: 4 kB / 0.7801 GB, free: 376 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.959e-05/0.007269, allocations: 28.8 kB / 0.7801 GB, free: 348 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.007282, allocations: 9.438 kB / 0.7801 GB, free: 340 kB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * 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 6.45e-05/0.007347, allocations: 128.5 kB / 0.7802 GB, free: 204 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.739e-06/0.007356, allocations: 8.047 kB / 0.7802 GB, free: 196 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.279e-05/0.007379, allocations: 21.03 kB / 0.7802 GB, free: 180 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.007381, allocations: 0 / 0.7802 GB, free: 180 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.007383, allocations: 1.125 kB / 0.7802 GB, free: 180 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.007386, allocations: 3.938 kB / 0.7802 GB, free: 176 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.007572, allocations: 219.7 kB / 0.7805 GB, free: 15.93 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.007575, allocations: 0 / 0.7805 GB, free: 15.93 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.497e-05/0.0076, allocations: 12.81 kB / 0.7805 GB, free: 15.92 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.007602, allocations: 3.938 kB / 0.7805 GB, free: 15.92 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.007608, allocations: 4.766 kB / 0.7805 GB, free: 15.91 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.007609, allocations: 0 / 0.7805 GB, free: 15.91 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.00761, allocations: 0.6562 kB / 0.7805 GB, free: 15.91 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.328e-05/0.007683, allocations: 147.5 kB / 0.7806 GB, free: 15.75 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 1.192e-05/0.007695, allocations: 12.88 kB / 0.7806 GB, free: 15.74 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.007709, allocations: 3.938 kB / 0.7806 GB, free: 15.74 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.338e-05/0.007742, allocations: 8.938 kB / 0.7806 GB, free: 15.73 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.774e-05/0.00777, allocations: 7.984 kB / 0.7806 GB, free: 15.72 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.007774, allocations: 7.922 kB / 0.7807 GB, free: 15.71 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 1.433e-05/0.007788, allocations: 18.28 kB / 0.7807 GB, free: 15.7 MB / 0.7449 GB Notification: Performance of sort global known variables: time 5e-08/0.007789, allocations: 0 / 0.7807 GB, free: 15.7 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0001475/0.007936, allocations: 24.84 kB / 0.7807 GB, free: 15.67 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: 7 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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 0.0001084/0.008044, allocations: 85.34 kB / 0.7808 GB, free: 15.58 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0001451/0.00819, allocations: 154.7 kB / 0.7809 GB, free: 15.41 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.008192, allocations: 0 / 0.7809 GB, free: 15.41 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 2.784e-05/0.00822, allocations: 22.62 kB / 0.7809 GB, free: 15.38 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.008361, allocations: 15.98 kB / 0.781 GB, free: 15.37 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000246/0.008607, allocations: 172.5 kB / 0.7811 GB, free: 15.17 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.333e-05/0.00864, allocations: 60.16 kB / 0.7812 GB, free: 15.09 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 2.396e-05/0.008664, allocations: 8.891 kB / 0.7812 GB, free: 15.09 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.257e-05/0.008747, allocations: 71.36 kB / 0.7813 GB, free: 15.02 MB / 0.7449 GB Notification: Performance of SimCode: time 5.91e-07/0.008747, allocations: 1.75 kB / 0.7813 GB, free: 15.02 MB / 0.7449 GB Notification: Performance of Templates: time 0.003202/0.01195, allocations: 1.688 MB / 0.7829 GB, free: 13.43 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & (cd run_cvode && ../Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.11485268175602]