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.0006862/0.0006862, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001006/0.001692, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007258/0.0007258, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009675/0.001693, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9905/0.9905, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09392/1.084, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.916/1.916, allocations: 390 MB / 0.6193 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5305/2.447, allocations: 127.1 MB / 0.7435 GB, free: 4.547 MB / 0.7136 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.934e-06/1.934e-06, allocations: 0 / 0.7448 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/2.194e-05, allocations: 2.312 kB / 0.7448 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001979/0.002001, allocations: 0.7269 MB / 0.7455 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.00337, allocations: 1.115 MB / 0.7466 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.594e-05/0.003416, allocations: 0 / 0.7466 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.419e-05/0.00344, allocations: 0 / 0.7466 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.649e-05/0.003487, allocations: 10.78 kB / 0.7466 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.003681, allocations: 53.02 kB / 0.7466 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.003782, allocations: 46.7 kB / 0.7467 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.025e-05/0.003852, allocations: 8.875 kB / 0.7467 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.523e-05/0.003948, allocations: 33.81 kB / 0.7467 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.429e-05/0.004002, allocations: 14.28 kB / 0.7467 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.004017, allocations: 4 kB / 0.7467 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.596e-05/0.004103, allocations: 23.98 kB / 0.7468 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.239e-05/0.004125, allocations: 6.844 kB / 0.7468 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.821e-05/0.004154, allocations: 13.53 kB / 0.7468 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.004286, allocations: 43.2 kB / 0.7468 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.235e-05/0.004299, allocations: 0.7656 kB / 0.7468 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.71e-07/0.0043, allocations: 0 / 0.7468 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.004312, allocations: 4.469 kB / 0.7468 GB, free: 1.207 MB / 0.7136 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.0004142/0.004726, allocations: 265.2 kB / 0.7471 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.004757, allocations: 8.031 kB / 0.7471 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.004886, allocations: 91.3 kB / 0.7472 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.994e-05/0.004976, allocations: 123.1 kB / 0.7473 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.004986, allocations: 384 / 0.7473 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.004999, allocations: 4.375 kB / 0.7473 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.005117, allocations: 66.94 kB / 0.7474 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.005126, allocations: 1.219 kB / 0.7474 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.005132, allocations: 1.469 kB / 0.7474 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.005138, allocations: 1.094 kB / 0.7474 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.805e-05/0.005166, allocations: 15.88 kB / 0.7474 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002929/0.005459, allocations: 168.9 kB / 0.7475 GB, free: 400 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.492e-05/0.005534, allocations: 35.56 kB / 0.7476 GB, free: 356 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.032e-05/0.005554, allocations: 15.09 kB / 0.7476 GB, free: 340 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.005571, allocations: 0 / 0.7476 GB, free: 340 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.242e-05/0.005653, allocations: 55.33 kB / 0.7476 GB, free: 272 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.005654, allocations: 0.9062 kB / 0.7476 GB, free: 272 kB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0001252/0.005779, allocations: 57.62 kB / 0.7477 GB, free: 208 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.005818, allocations: 60.38 kB / 0.7478 GB, free: 136 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.121e-05/0.005889, allocations: 114.6 kB / 0.7479 GB, free: 8 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.005919, allocations: 25.7 kB / 0.7479 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.00596, allocations: 98.55 kB / 0.748 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.00598, allocations: 11.84 kB / 0.748 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.134e-05/0.006022, allocations: 25.7 kB / 0.748 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.251e-05/0.006114, allocations: 314.8 kB / 0.7483 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.632e-05/0.00614, allocations: 11.94 kB / 0.7483 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.871e-05/0.006179, allocations: 40.27 kB / 0.7484 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.751e-05/0.006247, allocations: 54.78 kB / 0.7484 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.006249, allocations: 0 / 0.7484 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001079/0.006357, allocations: 67.17 kB / 0.7485 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.006376, allocations: 9.875 kB / 0.7485 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.006381, allocations: 0 / 0.7485 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.006397, allocations: 10.88 kB / 0.7485 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.0065, allocations: 15.98 kB / 0.7485 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.006504, allocations: 4 kB / 0.7485 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.128e-05/0.006545, allocations: 8 kB / 0.7485 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-06/0.006553, allocations: 320 / 0.7485 GB, free: 15.27 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 7.052e-05/0.006624, allocations: 117.8 kB / 0.7486 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/0.006637, allocations: 8 kB / 0.7487 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.646e-05/0.006734, allocations: 57.89 kB / 0.7487 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.006739, allocations: 3.938 kB / 0.7487 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.00674, allocations: 4 kB / 0.7487 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.006744, allocations: 0 / 0.7487 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.006948, allocations: 215 kB / 0.7489 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.00695, allocations: 0 / 0.7489 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.44e-05/0.006994, allocations: 4 kB / 0.7489 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.113e-05/0.007005, allocations: 11.92 kB / 0.7489 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.007008, allocations: 0 / 0.7489 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.007016, allocations: 4 kB / 0.7489 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.007018, allocations: 0.5 kB / 0.7489 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.007019, allocations: 0.875 kB / 0.7489 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.007128, allocations: 143.5 kB / 0.7491 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.007145, allocations: 9.234 kB / 0.7491 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.993e-05/0.007205, allocations: 8 kB / 0.7491 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.007233, allocations: 7.922 kB / 0.7491 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.007241, allocations: 7.984 kB / 0.7491 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.008e-05/0.007262, allocations: 13.66 kB / 0.7491 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.007262, allocations: 0 / 0.7491 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002336/0.007495, allocations: 9.406 kB / 0.7491 GB, free: 14.61 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.000137/0.007632, allocations: 92.39 kB / 0.7492 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.206e-05/0.007724, allocations: 34.28 kB / 0.7493 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.00773, allocations: 4 kB / 0.7493 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.097e-05/0.007771, allocations: 22.52 kB / 0.7493 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.007989, allocations: 65.28 kB / 0.7493 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008091/0.008798, allocations: 153.7 kB / 0.7495 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.932e-05/0.008837, allocations: 59.34 kB / 0.7495 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.148e-05/0.008869, allocations: 5.594 kB / 0.7496 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.103e-05/0.00893, allocations: 59.38 kB / 0.7496 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of SimCode: time 7.72e-07/0.00893, allocations: 0 / 0.7496 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of Templates: time 0.003297/0.01223, allocations: 0.8686 MB / 0.7505 GB, free: 13.24 MB / 0.7292 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 & ./Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.880884532816708]