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.0009361/0.0009361, allocations: 80.8 kB / 20.75 MB, free: 3.734 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.001466/0.001466, allocations: 161 kB / 24.17 MB, free: 324 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.9452/0.9452, allocations: 177.1 MB / 204.6 MB, free: 5.066 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.967/1.967, allocations: 389.6 MB / 0.6354 GB, free: 12.32 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.414e-06/2.414e-06, allocations: 0.875 kB / 0.7752 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.198e-05/3.439e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001784/0.001818, allocations: 0.7993 MB / 0.776 GB, free: 4.621 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.003049, allocations: 1.192 MB / 0.7772 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.853e-05/0.003097, allocations: 0 / 0.7772 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.102e-05/0.003128, allocations: 11.92 kB / 0.7772 GB, free: 3.406 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.156e-05/0.00321, allocations: 11.33 kB / 0.7772 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003998/0.003609, allocations: 135.6 kB / 0.7773 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.003753, allocations: 116.8 kB / 0.7774 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.776e-05/0.003831, allocations: 11.98 kB / 0.7774 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.984e-05/0.003931, allocations: 69.62 kB / 0.7775 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.481e-05/0.004015, allocations: 39.88 kB / 0.7775 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.004036, allocations: 12.72 kB / 0.7775 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.885e-05/0.004104, allocations: 19.98 kB / 0.7776 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.991e-05/0.004124, allocations: 12.61 kB / 0.7776 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.69e-05/0.004161, allocations: 35.97 kB / 0.7776 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.004301, allocations: 96.22 kB / 0.7777 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.004306, allocations: 8.609 kB / 0.7777 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.51e-07/0.004307, allocations: 0 / 0.7777 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.00431, allocations: 0.7812 kB / 0.7777 GB, free: 2.871 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.0003679/0.004678, allocations: 303.5 kB / 0.778 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.00471, allocations: 9.344 kB / 0.778 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.004743, allocations: 12.92 kB / 0.778 GB, free: 2.523 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.07e-05/0.004824, allocations: 114.6 kB / 0.7781 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.004837, allocations: 4.375 kB / 0.7781 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.004851, allocations: 8.375 kB / 0.7781 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.793e-05/0.004949, allocations: 64.09 kB / 0.7782 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.004957, allocations: 192 / 0.7782 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.004965, allocations: 4.359 kB / 0.7782 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.004971, allocations: 4.906 kB / 0.7782 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.265e-05/0.004994, allocations: 13.05 kB / 0.7782 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002557/0.005249, allocations: 180.2 kB / 0.7784 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.11e-05/0.00532, allocations: 39.97 kB / 0.7784 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.863e-05/0.005339, allocations: 16.86 kB / 0.7784 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.888e-06/0.005349, allocations: 0.75 kB / 0.7784 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.419e-05/0.005433, allocations: 71.48 kB / 0.7785 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.005434, allocations: 1.594 kB / 0.7785 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0002667/0.005701, allocations: 73.53 kB / 0.7786 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.005729, allocations: 55.41 kB / 0.7786 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.495e-05/0.005794, allocations: 126.6 kB / 0.7788 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.005814, allocations: 34.36 kB / 0.7788 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.421e-05/0.005848, allocations: 88.12 kB / 0.7789 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.005866, allocations: 21.2 kB / 0.7789 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.986e-05/0.005926, allocations: 33.69 kB / 0.7789 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.03e-05/0.005996, allocations: 322.8 kB / 0.7792 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.959e-05/0.006046, allocations: 51.22 kB / 0.7793 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.694e-05/0.006103, allocations: 89.97 kB / 0.7794 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.544e-05/0.006178, allocations: 99.23 kB / 0.7795 GB, free: 0.8711 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.00618, allocations: 0 / 0.7795 GB, free: 0.8711 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001376/0.006318, allocations: 170.7 kB / 0.7796 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.006346, allocations: 37.7 kB / 0.7797 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.006352, allocations: 7.875 kB / 0.7797 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.006363, allocations: 5.062 kB / 0.7797 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.249e-05/0.006426, allocations: 15.92 kB / 0.7797 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.524e-06/0.006429, allocations: 320 / 0.7797 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.659e-05/0.006505, allocations: 26.22 kB / 0.7797 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.006519, allocations: 11.98 kB / 0.7797 GB, free: 0.582 MB / 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 5.975e-05/0.006579, allocations: 117.8 kB / 0.7798 GB, free: 468 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.035e-05/0.00659, allocations: 4 kB / 0.7798 GB, free: 464 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.653e-05/0.006616, allocations: 21.58 kB / 0.7799 GB, free: 448 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.006618, allocations: 0 / 0.7799 GB, free: 448 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.006619, allocations: 0 / 0.7799 GB, free: 448 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.006622, allocations: 1.094 kB / 0.7799 GB, free: 448 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.006797, allocations: 226.7 kB / 0.7801 GB, free: 196 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.006798, allocations: 0 / 0.7801 GB, free: 196 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.441e-05/0.006823, allocations: 9.312 kB / 0.7801 GB, free: 188 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.311e-06/0.006829, allocations: 3.938 kB / 0.7801 GB, free: 184 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.006834, allocations: 0 / 0.7801 GB, free: 184 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.006836, allocations: 1.031 kB / 0.7801 GB, free: 184 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.006836, allocations: 0 / 0.7801 GB, free: 184 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.541e-05/0.006912, allocations: 159.5 kB / 0.7803 GB, free: 8 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.372e-05/0.006935, allocations: 13.38 kB / 0.7803 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.006949, allocations: 3.938 kB / 0.7803 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.746e-05/0.006986, allocations: 4 kB / 0.7803 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.928e-05/0.007015, allocations: 13.42 kB / 0.7803 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.758e-06/0.007019, allocations: 0 / 0.7803 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.48e-05/0.007034, allocations: 16.84 kB / 0.7803 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007034, allocations: 0 / 0.7803 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001477/0.007182, allocations: 24.97 kB / 0.7803 GB, free: 15.93 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: 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.000103/0.007285, allocations: 89.23 kB / 0.7804 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000148/0.007433, allocations: 149.6 kB / 0.7806 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.007436, allocations: 4 kB / 0.7806 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.851e-05/0.007465, allocations: 25.38 kB / 0.7806 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.007603, allocations: 15.19 kB / 0.7806 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002481/0.007851, allocations: 168.9 kB / 0.7808 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.126e-05/0.007882, allocations: 59.36 kB / 0.7808 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.285e-05/0.007905, allocations: 11.84 kB / 0.7808 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.212e-05/0.007977, allocations: 70.39 kB / 0.7809 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of SimCode: time 6.21e-07/0.007978, allocations: 0 / 0.7809 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of Templates: time 0.003057/0.01103, allocations: 1.684 MB / 0.7825 GB, free: 13.69 MB / 0.7448 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: 4.9284185487776995]