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.0009314/0.0009314, 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.0009089/0.0009089, allocations: 161 kB / 24.17 MB, free: 328 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.9335/0.9335, allocations: 177.1 MB / 204.6 MB, free: 5.473 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.94/1.94, 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.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.723e-06/1.723e-06, allocations: 0 / 0.7752 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/2.123e-05, allocations: 3.906 kB / 0.7752 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001692/0.001713, allocations: 0.7231 MB / 0.7759 GB, free: 4.734 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.002992, allocations: 1.123 MB / 0.777 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.863e-05/0.003041, allocations: 0 / 0.777 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.166e-05/0.003072, allocations: 8.484 kB / 0.777 GB, free: 3.594 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.544e-05/0.003148, allocations: 7.219 kB / 0.777 GB, free: 3.59 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.0034, allocations: 40.64 kB / 0.777 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.574e-05/0.003496, allocations: 53.2 kB / 0.7771 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.184e-05/0.003568, allocations: 4 kB / 0.7771 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.633e-05/0.003644, allocations: 31.19 kB / 0.7771 GB, free: 3.477 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.306e-05/0.003687, allocations: 16.62 kB / 0.7771 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.003702, allocations: 6.172 kB / 0.7771 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.053e-05/0.003783, allocations: 27.92 kB / 0.7772 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.981e-05/0.003803, allocations: 9.406 kB / 0.7772 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/0.00383, allocations: 13.52 kB / 0.7772 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.003944, allocations: 57.92 kB / 0.7772 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.003946, allocations: 0.875 kB / 0.7772 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.42e-07/0.003947, allocations: 0 / 0.7772 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.00395, allocations: 0 / 0.7772 GB, free: 3.355 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.0003552/0.004305, allocations: 254.6 kB / 0.7775 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.004342, allocations: 9.344 kB / 0.7775 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.49e-05/0.004437, allocations: 16.92 kB / 0.7775 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.199e-05/0.004529, allocations: 117.7 kB / 0.7776 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.00454, allocations: 0.875 kB / 0.7776 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.004549, allocations: 5.531 kB / 0.7776 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.00466, allocations: 70.86 kB / 0.7777 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.004668, allocations: 192 / 0.7777 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.004676, allocations: 3.219 kB / 0.7777 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.004682, allocations: 384 / 0.7777 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.845e-05/0.00471, allocations: 15.92 kB / 0.7777 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002749/0.004985, allocations: 164.4 kB / 0.7779 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.017e-05/0.005045, allocations: 30.52 kB / 0.7779 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.746e-05/0.005063, allocations: 12.98 kB / 0.7779 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.00508, allocations: 3.812 kB / 0.7779 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003375/0.005417, allocations: 51.39 kB / 0.778 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.005418, allocations: 0 / 0.778 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0001225/0.005541, allocations: 61.61 kB / 0.778 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.005578, allocations: 55.34 kB / 0.7781 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.655e-05/0.005645, allocations: 118.6 kB / 0.7782 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.005658, allocations: 25.7 kB / 0.7782 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.6e-05/0.005694, allocations: 88.12 kB / 0.7783 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.005712, allocations: 15.84 kB / 0.7783 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.005751, allocations: 31.28 kB / 0.7783 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.321e-05/0.005835, allocations: 314.8 kB / 0.7786 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.666e-05/0.005851, allocations: 7.984 kB / 0.7787 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.491e-05/0.005886, allocations: 36.3 kB / 0.7787 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.065e-05/0.005947, allocations: 53.97 kB / 0.7787 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.005949, allocations: 1.5 kB / 0.7787 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.39e-05/0.006043, allocations: 66.3 kB / 0.7788 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.006058, allocations: 8 kB / 0.7788 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.006065, allocations: 5.344 kB / 0.7788 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.006079, allocations: 3.938 kB / 0.7788 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-05/0.006168, allocations: 23.92 kB / 0.7788 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.985e-06/0.006171, allocations: 1.125 kB / 0.7788 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.875e-05/0.00621, allocations: 15.92 kB / 0.7789 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.00622, allocations: 4.312 kB / 0.7789 GB, free: 1.523 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 6.105e-05/0.006281, allocations: 114.9 kB / 0.779 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.037e-05/0.006291, allocations: 4 kB / 0.779 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.328e-05/0.006375, allocations: 62.55 kB / 0.779 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.006378, allocations: 3.938 kB / 0.779 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.006379, allocations: 0.9062 kB / 0.779 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.006382, allocations: 0 / 0.779 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.006553, allocations: 204.1 kB / 0.7792 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.006554, allocations: 0 / 0.7792 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.018e-05/0.006585, allocations: 11.98 kB / 0.7792 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.006587, allocations: 0.625 kB / 0.7792 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.006593, allocations: 11.88 kB / 0.7793 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.006595, allocations: 0.5312 kB / 0.7793 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.006596, allocations: 0.6875 kB / 0.7793 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.06e-05/0.006676, allocations: 143.5 kB / 0.7794 GB, free: 0.9297 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-06/0.006682, allocations: 1.438 kB / 0.7794 GB, free: 0.9297 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.006697, allocations: 7.938 kB / 0.7794 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.719e-05/0.006744, allocations: 4.188 kB / 0.7794 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.784e-05/0.006772, allocations: 7.984 kB / 0.7794 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.006778, allocations: 8.547 kB / 0.7794 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.625e-05/0.006795, allocations: 20.08 kB / 0.7794 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.006795, allocations: 0 / 0.7794 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001899/0.006984, allocations: 23.88 kB / 0.7795 GB, free: 0.8594 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 9.737e-05/0.007082, allocations: 84.34 kB / 0.7795 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.19e-05/0.007164, allocations: 32.78 kB / 0.7796 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.007167, allocations: 4 kB / 0.7796 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.992e-05/0.007197, allocations: 19.73 kB / 0.7796 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.007363, allocations: 7.984 kB / 0.7796 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004018/0.007765, allocations: 152.4 kB / 0.7798 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.598e-05/0.007801, allocations: 58.02 kB / 0.7798 GB, free: 460 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.451e-05/0.007826, allocations: 5.484 kB / 0.7798 GB, free: 456 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.825e-05/0.007874, allocations: 59.38 kB / 0.7799 GB, free: 396 kB / 0.7292 GB Notification: Performance of SimCode: time 6.01e-07/0.007875, allocations: 0 / 0.7799 GB, free: 396 kB / 0.7292 GB Notification: Performance of Templates: time 0.002645/0.01052, allocations: 0.8644 MB / 0.7807 GB, free: 15.57 MB / 0.7448 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: 4.8372360141947865]