Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.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.0008524/0.0008524, 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.003044/0.003044, 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.9258/0.9258, allocations: 177.1 MB / 204.8 MB, free: 5.062 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.961/1.961, allocations: 389.6 MB / 0.6356 GB, free: 12.21 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.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.7755 GB, free: 5.207 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.516e-05, allocations: 4.031 kB / 0.7755 GB, free: 5.203 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.00155/0.001575, allocations: 0.7267 MB / 0.7763 GB, free: 4.496 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.002732, allocations: 1.119 MB / 0.7773 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.093e-05/0.002783, allocations: 0.75 kB / 0.7773 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.507e-05/0.002818, allocations: 3.938 kB / 0.7774 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.302e-05/0.002891, allocations: 11.61 kB / 0.7774 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.003143, allocations: 40.66 kB / 0.7774 GB, free: 3.316 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.811e-05/0.003241, allocations: 55.83 kB / 0.7775 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.619e-05/0.003317, allocations: 10.67 kB / 0.7775 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.095e-05/0.003398, allocations: 25.73 kB / 0.7775 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.784e-05/0.003446, allocations: 23.91 kB / 0.7775 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.003462, allocations: 4 kB / 0.7775 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.304e-05/0.003535, allocations: 19.92 kB / 0.7775 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.487e-05/0.00356, allocations: 11.98 kB / 0.7775 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.633e-05/0.003586, allocations: 15.92 kB / 0.7776 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.003699, allocations: 47.88 kB / 0.7776 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.003701, allocations: 2.438 kB / 0.7776 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.41e-07/0.003702, allocations: 3.938 kB / 0.7776 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.003707, allocations: 0 / 0.7776 GB, free: 3.113 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.0003248/0.004031, allocations: 260.8 kB / 0.7779 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.004063, allocations: 9.344 kB / 0.7779 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.925e-05/0.004142, allocations: 4.938 kB / 0.7779 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.075e-05/0.004223, allocations: 114.8 kB / 0.778 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.004234, allocations: 4.375 kB / 0.778 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.004244, allocations: 8.312 kB / 0.778 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.207e-05/0.004336, allocations: 64.64 kB / 0.7781 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.004343, allocations: 4.188 kB / 0.7781 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.994e-06/0.00435, allocations: 384 / 0.7781 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.004354, allocations: 384 / 0.7781 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.564e-05/0.00438, allocations: 8.75 kB / 0.7781 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003146/0.004694, allocations: 164.8 kB / 0.7782 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.346e-05/0.004758, allocations: 43.31 kB / 0.7783 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.52e-05/0.004773, allocations: 11.55 kB / 0.7783 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.004789, allocations: 4 kB / 0.7783 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.629e-05/0.004856, allocations: 63.47 kB / 0.7783 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.004857, allocations: 0 / 0.7783 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0001115/0.004968, allocations: 57.56 kB / 0.7784 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.005005, allocations: 51.41 kB / 0.7785 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.811e-05/0.005064, allocations: 110.7 kB / 0.7786 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.005075, allocations: 32.45 kB / 0.7786 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.692e-05/0.005112, allocations: 84.14 kB / 0.7787 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.005132, allocations: 23.81 kB / 0.7787 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.005163, allocations: 21.7 kB / 0.7787 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.523e-05/0.005239, allocations: 318.8 kB / 0.779 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.371e-05/0.005252, allocations: 4 kB / 0.779 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.115e-05/0.005283, allocations: 44.27 kB / 0.7791 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.599e-05/0.005339, allocations: 58.5 kB / 0.7791 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.005341, allocations: 0 / 0.7791 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 7.602e-05/0.005417, allocations: 62.73 kB / 0.7792 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.005431, allocations: 4.812 kB / 0.7792 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.005437, allocations: 4 kB / 0.7792 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.005447, allocations: 8.375 kB / 0.7792 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.876e-05/0.005525, allocations: 24.77 kB / 0.7792 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.576e-06/0.005529, allocations: 4 kB / 0.7792 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.604e-05/0.005555, allocations: 4 kB / 0.7792 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.954e-06/0.005562, allocations: 0.5312 kB / 0.7792 GB, free: 1.289 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: 6 (unitDelay1.u_internal,$PRE.unitDelay1.u_internal,unitDelay1.y,$PRE.unitDelay1.y,unitDelay1.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 5.835e-05/0.00562, allocations: 114.5 kB / 0.7793 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.907e-06/0.005629, allocations: 8.703 kB / 0.7793 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.664e-05/0.005706, allocations: 54.06 kB / 0.7794 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.00571, allocations: 9.375 kB / 0.7794 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.005711, allocations: 0 / 0.7794 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.005716, allocations: 3.984 kB / 0.7794 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.005883, allocations: 210.7 kB / 0.7796 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.005884, allocations: 0.6562 kB / 0.7796 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.121e-05/0.005916, allocations: 5.375 kB / 0.7796 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.005917, allocations: 0 / 0.7796 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.005928, allocations: 8.312 kB / 0.7796 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.005929, allocations: 0 / 0.7796 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.005932, allocations: 4.875 kB / 0.7796 GB, free: 0.8477 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.891e-05/0.006011, allocations: 147.5 kB / 0.7798 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.228e-06/0.00602, allocations: 7.938 kB / 0.7798 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.00604, allocations: 8.469 kB / 0.7798 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.23e-05/0.006073, allocations: 8.766 kB / 0.7798 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.006101, allocations: 0 / 0.7798 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.006107, allocations: 5.75 kB / 0.7798 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.539e-05/0.006122, allocations: 21.08 kB / 0.7798 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.6e-07/0.006122, allocations: 0 / 0.7798 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000136/0.006258, allocations: 16 kB / 0.7798 GB, free: 0.6211 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: 4 (unitDelay1.sampleTrigger,$whenCondition1,unitDelay1.y,unitDelay1.u_internal) * Number of discrete states: 1 (unitDelay1.u_internal) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0001153/0.006374, allocations: 80.94 kB / 0.7799 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.626e-05/0.00645, allocations: 41.83 kB / 0.7799 GB, free: 500 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.006452, allocations: 0.5312 kB / 0.7799 GB, free: 500 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.425e-05/0.006477, allocations: 13.8 kB / 0.78 GB, free: 484 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.006619, allocations: 10.58 kB / 0.78 GB, free: 476 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003917/0.007011, allocations: 153.7 kB / 0.7801 GB, free: 296 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.396e-05/0.007045, allocations: 60.53 kB / 0.7802 GB, free: 216 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.489e-05/0.00707, allocations: 4 kB / 0.7802 GB, free: 212 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.114e-05/0.007121, allocations: 64.39 kB / 0.7802 GB, free: 148 kB / 0.7292 GB Notification: Performance of SimCode: time 6.91e-07/0.007121, allocations: 0 / 0.7802 GB, free: 148 kB / 0.7292 GB Notification: Performance of Templates: time 0.002695/0.009817, allocations: 0.867 MB / 0.7811 GB, free: 15.33 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.sim & (cd run_cvode && ../Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.028062831610441]