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.0008564/0.0008564, allocations: 80.81 kB / 21.55 MB, free: 2.945 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.001019/0.001019, allocations: 162.2 kB / 24.97 MB, free: 8.703 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.9643/0.9643, allocations: 177.2 MB / 205.4 MB, free: 4.477 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.972/1.972, allocations: 389.6 MB / 0.6362 GB, free: 13.36 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 2.725e-06/2.725e-06, allocations: 0 / 0.776 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.797e-05, allocations: 5.969 kB / 0.776 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001497/0.001525, allocations: 0.7172 MB / 0.7767 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.002584, allocations: 1.116 MB / 0.7778 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.097e-05/0.002625, allocations: 8 kB / 0.7778 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.601e-05/0.002651, allocations: 3.938 kB / 0.7778 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.831e-05/0.002709, allocations: 3.938 kB / 0.7778 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.002925, allocations: 51.7 kB / 0.7778 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.416e-05/0.002999, allocations: 39.86 kB / 0.7779 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.902e-05/0.003068, allocations: 15.97 kB / 0.7779 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.042e-05/0.003139, allocations: 27.92 kB / 0.7779 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.649e-05/0.003175, allocations: 15.97 kB / 0.7779 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.003189, allocations: 4 kB / 0.7779 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.208e-05/0.003261, allocations: 23.98 kB / 0.778 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.622e-05/0.003278, allocations: 15.92 kB / 0.778 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.074e-05/0.003298, allocations: 8 kB / 0.778 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.003399, allocations: 63.72 kB / 0.778 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.003401, allocations: 0 / 0.778 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.32e-07/0.003402, allocations: 0 / 0.778 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.003405, allocations: 0 / 0.778 GB, free: 11.82 MB / 0.7448 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.0002684/0.003674, allocations: 248.9 kB / 0.7783 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.003708, allocations: 8.031 kB / 0.7783 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.155e-05/0.003789, allocations: 12.89 kB / 0.7783 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.031e-05/0.00386, allocations: 117.7 kB / 0.7784 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.003869, allocations: 4.375 kB / 0.7784 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.003877, allocations: 8.375 kB / 0.7784 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.563e-05/0.003963, allocations: 62.88 kB / 0.7785 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.00397, allocations: 192 / 0.7785 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.003979, allocations: 4.375 kB / 0.7785 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.003983, allocations: 384 / 0.7785 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.327e-05/0.004006, allocations: 11.94 kB / 0.7785 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002425/0.004249, allocations: 168.2 kB / 0.7787 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.579e-05/0.004305, allocations: 34.48 kB / 0.7787 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.216e-05/0.004317, allocations: 12.86 kB / 0.7787 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.004333, allocations: 4 kB / 0.7787 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.865e-05/0.004391, allocations: 59.58 kB / 0.7788 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.004392, allocations: 0 / 0.7788 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 9.659e-05/0.004489, allocations: 57.56 kB / 0.7788 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.004519, allocations: 55.41 kB / 0.7789 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.579e-05/0.004575, allocations: 110.7 kB / 0.779 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.004585, allocations: 29.7 kB / 0.779 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.83e-05/0.004613, allocations: 88.06 kB / 0.7791 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.004632, allocations: 23.83 kB / 0.7791 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.004664, allocations: 29.7 kB / 0.7791 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.293e-05/0.004727, allocations: 314.8 kB / 0.7794 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.273e-05/0.00474, allocations: 4 kB / 0.7795 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.742e-05/0.004768, allocations: 40.28 kB / 0.7795 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.72e-05/0.004815, allocations: 52.2 kB / 0.7795 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.004817, allocations: 0 / 0.7795 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 6.571e-05/0.004882, allocations: 73.55 kB / 0.7796 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.004893, allocations: 4 kB / 0.7796 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.0049, allocations: 4 kB / 0.7796 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.00491, allocations: 3.938 kB / 0.7796 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.021e-05/0.004971, allocations: 23.92 kB / 0.7796 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.085e-06/0.004974, allocations: 0 / 0.7796 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.56e-05/0.004999, allocations: 7.953 kB / 0.7797 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.005006, allocations: 4 kB / 0.7797 GB, free: 9.977 MB / 0.7448 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.1e-05/0.005057, allocations: 118 kB / 0.7798 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-06/0.005062, allocations: 4.25 kB / 0.7798 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.75e-05/0.00514, allocations: 66.05 kB / 0.7798 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.005144, allocations: 3.938 kB / 0.7798 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.005145, allocations: 0 / 0.7798 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.631e-06/0.00515, allocations: 0 / 0.7798 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.005161, allocations: 4 kB / 0.7798 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.586e-05/0.005177, allocations: 4 kB / 0.7798 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.643e-05/0.005204, allocations: 7.984 kB / 0.7799 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 5.887e-05/0.005262, allocations: 121 kB / 0.78 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 8.228e-05/0.005345, allocations: 230.7 kB / 0.7802 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.534e-05/0.00537, allocations: 20.84 kB / 0.7802 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.067e-05/0.005381, allocations: 13.16 kB / 0.7802 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of Backend: time 1.3e-07/0.005381, allocations: 0 / 0.7802 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002055/0.005586, allocations: 100.3 kB / 0.7803 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of SimCode: time 0.0004531/0.006039, allocations: 0.6341 MB / 0.7809 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of Templates: time 0.002325/0.008365, allocations: 1.058 MB / 0.782 GB, free: 7.516 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 & ./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.699678343720734]