Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.0011/0.0011, allocations: 91.67 kB / 20.94 MB, free: 3.305 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.0044/0.0044, allocations: 162.8 kB / 24.37 MB, free: 9.152 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.9415/0.9415, allocations: 177.1 MB / 204.8 MB, free: 5.402 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.954/1.954, 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.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 0.7755 GB, free: 5.172 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.402e-05, allocations: 2.312 kB / 0.7755 GB, free: 5.168 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001603/0.001627, allocations: 0.7821 MB / 0.7763 GB, free: 4.406 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.002971, allocations: 1.243 MB / 0.7775 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.301e-05/0.003034, allocations: 4 kB / 0.7775 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.425e-05/0.003068, allocations: 3.938 kB / 0.7775 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.877e-05/0.003157, allocations: 11.97 kB / 0.7775 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000441/0.003598, allocations: 136.6 kB / 0.7777 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.003754, allocations: 122.9 kB / 0.7778 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.384e-05/0.003828, allocations: 11.66 kB / 0.7778 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.003933, allocations: 69.62 kB / 0.7779 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.631e-05/0.00401, allocations: 35.92 kB / 0.7779 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.004033, allocations: 8 kB / 0.7779 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.313e-05/0.004106, allocations: 24 kB / 0.7779 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.038e-05/0.004126, allocations: 15.92 kB / 0.7779 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.271e-05/0.004169, allocations: 35.95 kB / 0.778 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.004306, allocations: 107.6 kB / 0.7781 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.004308, allocations: 0 / 0.7781 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.302e-06/0.004309, allocations: 0 / 0.7781 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.004313, allocations: 0.8438 kB / 0.7781 GB, free: 2.602 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.0003877/0.004701, allocations: 299.2 kB / 0.7784 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.004736, allocations: 9.344 kB / 0.7784 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.905e-05/0.004825, allocations: 14.27 kB / 0.7784 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.966e-05/0.004915, allocations: 121.7 kB / 0.7785 GB, free: 2.113 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.004927, allocations: 4.375 kB / 0.7785 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.004945, allocations: 12.38 kB / 0.7785 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.005054, allocations: 64.05 kB / 0.7786 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.005061, allocations: 192 / 0.7786 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.005068, allocations: 384 / 0.7786 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.005074, allocations: 1.094 kB / 0.7786 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.39e-05/0.005098, allocations: 15.92 kB / 0.7786 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002984/0.005396, allocations: 184.8 kB / 0.7788 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.734e-05/0.005453, allocations: 27.34 kB / 0.7788 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.182e-05/0.005465, allocations: 10.08 kB / 0.7788 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.005478, allocations: 4 kB / 0.7788 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.814e-05/0.005556, allocations: 68.28 kB / 0.7789 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.005557, allocations: 0 / 0.7789 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001233/0.00568, allocations: 75 kB / 0.779 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.005713, allocations: 55.41 kB / 0.779 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.15e-05/0.005774, allocations: 118.7 kB / 0.7791 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.00579, allocations: 33.64 kB / 0.7792 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.657e-05/0.005826, allocations: 96.55 kB / 0.7792 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.005843, allocations: 15.89 kB / 0.7793 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/0.005885, allocations: 30.77 kB / 0.7793 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.101e-05/0.005966, allocations: 318.8 kB / 0.7796 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.105e-05/0.006017, allocations: 63.34 kB / 0.7797 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.693e-05/0.006074, allocations: 81.09 kB / 0.7797 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.369e-05/0.006148, allocations: 89.05 kB / 0.7798 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.00615, allocations: 0.6875 kB / 0.7798 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001373/0.006287, allocations: 162.6 kB / 0.78 GB, free: 472 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.306e-05/0.00632, allocations: 41.64 kB / 0.78 GB, free: 424 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.006326, allocations: 0 / 0.78 GB, free: 424 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.006337, allocations: 4 kB / 0.78 GB, free: 420 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.684e-05/0.006403, allocations: 16.67 kB / 0.78 GB, free: 404 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.006407, allocations: 0 / 0.78 GB, free: 404 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.429e-05/0.006481, allocations: 28.91 kB / 0.7801 GB, free: 376 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.006496, allocations: 11.98 kB / 0.7801 GB, free: 364 kB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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.092e-05/0.006556, allocations: 114.9 kB / 0.7802 GB, free: 240 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-06/0.006565, allocations: 4.938 kB / 0.7802 GB, free: 236 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.282e-05/0.006648, allocations: 70.33 kB / 0.7803 GB, free: 164 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.00665, allocations: 0 / 0.7803 GB, free: 164 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.006651, allocations: 5.312 kB / 0.7803 GB, free: 160 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.006656, allocations: 3.984 kB / 0.7803 GB, free: 156 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.006819, allocations: 206.8 kB / 0.7805 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.006821, allocations: 0 / 0.7805 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.481e-05/0.006856, allocations: 13.11 kB / 0.7805 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.006859, allocations: 3.938 kB / 0.7805 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-06/0.006864, allocations: 1.062 kB / 0.7805 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.006866, allocations: 0 / 0.7805 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.006867, allocations: 0 / 0.7805 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.629e-05/0.006953, allocations: 160 kB / 0.7806 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.664e-06/0.006961, allocations: 4 kB / 0.7806 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.006975, allocations: 5.156 kB / 0.7806 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.404e-05/0.007009, allocations: 7.938 kB / 0.7806 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.761e-05/0.007037, allocations: 3.984 kB / 0.7806 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.007042, allocations: 4.781 kB / 0.7807 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.734e-05/0.007059, allocations: 16.84 kB / 0.7807 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007059, allocations: 1.5 kB / 0.7807 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001515/0.007211, allocations: 23.95 kB / 0.7807 GB, free: 15.67 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: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * 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 0.0001198/0.007331, allocations: 93.98 kB / 0.7808 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001551/0.007486, allocations: 141.9 kB / 0.7809 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.007489, allocations: 0 / 0.7809 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.008e-05/0.007519, allocations: 24.78 kB / 0.7809 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.007674, allocations: 19.2 kB / 0.781 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003806/0.008055, allocations: 172.5 kB / 0.7811 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.448e-05/0.008089, allocations: 59.34 kB / 0.7812 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.356e-05/0.008113, allocations: 4 kB / 0.7812 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.005e-05/0.008193, allocations: 67.36 kB / 0.7812 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/0.008193, allocations: 0 / 0.7812 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of Templates: time 0.003395/0.01159, allocations: 1.606 MB / 0.7828 GB, free: 13.52 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & (cd run_cvode && ../Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.129211909137666]