Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.134/2.134, allocations: 251.1 MB / 266.7 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001494/0.001494, allocations: 180.2 kB / 326.2 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.48/2.48, allocations: 205.4 MB / 0.5772 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 99.89 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007344/0.0007347, allocations: 18.12 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2476, allocations: 106.3 MB / 0.8995 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2566/0.5042, allocations: 132.1 MB / 1.028 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/0.5045, allocations: 67.97 kB / 1.029 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02219/0.5268, allocations: 4.385 MB / 1.033 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.809e-06/0.5268, allocations: 4 kB / 1.033 GB, free: 8.793 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.555e-05/0.5268, allocations: 11.94 kB / 1.033 GB, free: 8.781 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.002863/0.5297, allocations: 0.7352 MB / 1.034 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.5298, allocations: 12.03 kB / 1.034 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002678/0.5301, allocations: 64.53 kB / 1.034 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.5303, allocations: 203.9 kB / 1.034 GB, free: 7.688 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/0.5305, allocations: 48.89 kB / 1.034 GB, free: 7.637 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002749/0.5308, allocations: 80.31 kB / 1.034 GB, free: 7.559 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.5324, allocations: 495.7 kB / 1.034 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.5325, allocations: 4.125 kB / 1.034 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.5326, allocations: 31.89 kB / 1.034 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.5326, allocations: 4 kB / 1.034 GB, free: 7.02 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.5337, allocations: 257.2 kB / 1.035 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003771/0.5375, allocations: 1.142 MB / 1.036 GB, free: 5.574 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002313/0.5398, allocations: 0.6696 MB / 1.036 GB, free: 4.887 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/0.541, allocations: 342.1 kB / 1.037 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.403e-05/0.5411, allocations: 8.859 kB / 1.037 GB, free: 4.539 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002165/0.5433, allocations: 0.7569 MB / 1.038 GB, free: 3.758 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=100): time 4.208e-06/0.5433, allocations: 4 kB / 1.038 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100): time 0.005185/0.5485, allocations: 1.562 MB / 1.039 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.5486, allocations: 101.9 kB / 1.039 GB, free: 2.07 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004125/0.5491, allocations: 266.3 kB / 1.039 GB, free: 1.801 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000174/0.5492, allocations: 65.69 kB / 1.039 GB, free: 1.73 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.5494, allocations: 138.1 kB / 1.04 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000277/0.5497, allocations: 209.5 kB / 1.04 GB, free: 1.383 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-05/0.5498, allocations: 24 kB / 1.04 GB, free: 1.359 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.55, allocations: 366.7 kB / 1.04 GB, free: 0.9922 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009054/0.5509, allocations: 218.4 kB / 1.04 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/0.5521, allocations: 0.5585 MB / 1.041 GB, free: 60 kB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.5532, allocations: 266.5 kB / 1.041 GB, free: 15.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.531e-05/0.5533, allocations: 4 kB / 1.041 GB, free: 15.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002775/0.5561, allocations: 0.8493 MB / 1.042 GB, free: 14.94 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.082e-05/0.5561, allocations: 13.56 kB / 1.042 GB, free: 14.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.762e-05/0.5562, allocations: 12 kB / 1.042 GB, free: 14.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.939e-05/0.5562, allocations: 20.06 kB / 1.042 GB, free: 14.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008562/0.5571, allocations: 131.6 kB / 1.042 GB, free: 14.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.212e-05/0.5572, allocations: 19.94 kB / 1.042 GB, free: 14.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009236/0.5581, allocations: 99.58 kB / 1.042 GB, free: 14.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.5582, allocations: 52 kB / 1.042 GB, free: 14.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 134 ($PRE.onDelay0.u,$PRE.onDelay1.u,$PRE.onDelay2.u,$PRE.onDelay4.u,$PRE.onDelay5.u,$PRE.onDelay6.u,$PRE.onDelay3.u,$PRE.onDelay7.u,$PRE.onDelay00.u,$PRE.onDelay11.u,$PRE.onDelay22.u,$PRE.onDelay44.u,$PRE.onDelay55.u,$PRE.onDelay66.u,$PRE.onDelay33.u,$PRE.onDelay77.u,$whenCondition50,$whenCondition47,$PRE.onDelay7.t_next,$whenCondition44,$PRE.onDelay3.t_next,$whenCondition41,$PRE.onDelay6.t_next,$whenCondition38,$PRE.onDelay5.t_next,$whenCondition35,$PRE.onDelay4.t_next,$whenCondition32,$PRE.onDelay2.t_next,$whenCondition29,$PRE.onDelay1.t_next,$whenCondition26,$PRE.onDelay0.t_next,onDelay7.t_next,onDelay3.t_next,onDelay6.t_next,onDelay5.t_next,onDelay4.t_next,onDelay2.t_next,onDelay1.t_next,$whenCondition48,$whenCondition49,$whenCondition45,$whenCondition46,$whenCondition42,$whenCondition43,$whenCondition39,$whenCondition40,$whenCondition36,$whenCondition37,$whenCondition33,$whenCondition34,$whenCondition30,$whenCondition31,$whenCondition27,$whenCondition28,onDelay0.u,onDelay0.y,onDelay1.u,onDelay1.y,onDelay2.u,onDelay2.y,onDelay4.u,onDelay4.y,onDelay5.u,onDelay5.y,onDelay6.u,onDelay6.y,onDelay3.u,onDelay3.y,onDelay7.u,onDelay7.y,$PRE.booPul.pulseStart,booPul.pulseStart,onDelay0.t_next,$whenCondition25,$whenCondition22,$PRE.onDelay77.t_next,$whenCondition19,$PRE.onDelay33.t_next,$whenCondition16,$PRE.onDelay66.t_next,$whenCondition13,$PRE.onDelay55.t_next,$whenCondition10,$PRE.onDelay44.t_next,$whenCondition7,$PRE.onDelay22.t_next,$whenCondition4,$PRE.onDelay11.t_next,$whenCondition1,$PRE.onDelay00.t_next,onDelay77.t_next,onDelay33.t_next,onDelay66.t_next,onDelay55.t_next,onDelay44.t_next,onDelay22.t_next,onDelay11.t_next,$whenCondition23,$whenCondition24,$whenCondition20,$whenCondition21,$whenCondition17,$whenCondition18,$whenCondition14,$whenCondition15,$whenCondition11,$whenCondition12,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,onDelay00.u,onDelay00.y,onDelay11.u,onDelay11.y,onDelay22.u,onDelay22.y,onDelay44.u,onDelay44.y,onDelay55.u,onDelay55.y,onDelay66.u,onDelay66.y,onDelay33.u,onDelay33.y,onDelay77.u,onDelay77.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,onDelay00.t_next) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000655/0.5589, allocations: 257.9 kB / 1.043 GB, free: 14.33 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/0.5591, allocations: 75.33 kB / 1.043 GB, free: 14.26 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.5593, allocations: 51.61 kB / 1.043 GB, free: 14.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/0.5593, allocations: 12 kB / 1.043 GB, free: 14.19 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.5593, allocations: 0 / 1.043 GB, free: 14.19 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.5594, allocations: 3.984 kB / 1.043 GB, free: 14.19 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006664/0.566, allocations: 2.284 MB / 1.045 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/0.5661, allocations: 0 / 1.045 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.5662, allocations: 27.86 kB / 1.045 GB, free: 11.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.205e-05/0.5662, allocations: 4 kB / 1.045 GB, free: 11.79 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000158/0.5664, allocations: 39.95 kB / 1.045 GB, free: 11.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.131e-05/0.5664, allocations: 4 kB / 1.045 GB, free: 11.74 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5665, allocations: 0 / 1.045 GB, free: 11.74 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003913/0.5704, allocations: 1.432 MB / 1.046 GB, free: 10.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.5706, allocations: 116.5 kB / 1.047 GB, free: 10.17 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002279/0.5708, allocations: 39.95 kB / 1.047 GB, free: 10.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008669/0.5717, allocations: 75.91 kB / 1.047 GB, free: 10.05 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003006/0.572, allocations: 96.7 kB / 1.047 GB, free: 9.957 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001619/0.5722, allocations: 75.95 kB / 1.047 GB, free: 9.883 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002439/0.5725, allocations: 169.9 kB / 1.047 GB, free: 9.719 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/0.5725, allocations: 4 kB / 1.047 GB, free: 9.715 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001109/0.5736, allocations: 203.9 kB / 1.047 GB, free: 9.516 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 100 (onDelay00.u,onDelay11.u,onDelay22.u,onDelay33.u,onDelay44.u,onDelay55.u,onDelay66.u,onDelay77.u,$whenCondition25,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,onDelay00.y,onDelay00.t_next,onDelay11.y,onDelay11.t_next,onDelay22.y,onDelay22.t_next,onDelay44.y,onDelay44.t_next,onDelay55.y,onDelay55.t_next,onDelay66.y,onDelay66.t_next,onDelay33.y,onDelay33.t_next,onDelay77.y,onDelay77.t_next,booPul1.pulseStart,onDelay0.u,onDelay1.u,onDelay2.u,onDelay3.u,onDelay4.u,onDelay5.u,onDelay6.u,onDelay7.u,$whenCondition50,$whenCondition47,$whenCondition48,$whenCondition49,$whenCondition44,$whenCondition45,$whenCondition46,$whenCondition41,$whenCondition42,$whenCondition43,$whenCondition38,$whenCondition39,$whenCondition40,$whenCondition35,$whenCondition36,$whenCondition37,$whenCondition32,$whenCondition33,$whenCondition34,$whenCondition29,$whenCondition30,$whenCondition31,$whenCondition26,$whenCondition27,$whenCondition28,onDelay0.y,onDelay0.t_next,onDelay1.y,onDelay1.t_next,onDelay2.y,onDelay2.t_next,onDelay4.y,onDelay4.t_next,onDelay5.y,onDelay5.t_next,onDelay6.y,onDelay6.t_next,onDelay3.y,onDelay3.t_next,onDelay7.y,onDelay7.t_next,booPul.pulseStart) * Number of discrete states: 16 (onDelay7.t_next,onDelay3.t_next,onDelay6.t_next,onDelay5.t_next,onDelay4.t_next,onDelay2.t_next,onDelay1.t_next,onDelay0.t_next,onDelay77.t_next,onDelay33.t_next,onDelay66.t_next,onDelay55.t_next,onDelay44.t_next,onDelay22.t_next,onDelay11.t_next,onDelay00.t_next) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 34 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000352/0.574, allocations: 167.1 kB / 1.047 GB, free: 9.344 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002726/0.5767, allocations: 0.7923 MB / 1.048 GB, free: 8.547 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.5767, allocations: 4.812 kB / 1.048 GB, free: 8.543 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001729/0.5785, allocations: 0.6218 MB / 1.049 GB, free: 7.922 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009525/0.5795, allocations: 96.39 kB / 1.049 GB, free: 7.828 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003411/0.5829, allocations: 1.084 MB / 1.05 GB, free: 6.711 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/0.5835, allocations: 0.8232 MB / 1.051 GB, free: 5.863 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003935/0.5839, allocations: 72.91 kB / 1.051 GB, free: 5.793 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002623/0.5841, allocations: 59.42 kB / 1.051 GB, free: 5.734 MB / 0.698 GB Notification: Performance of SimCode: time 9.22e-07/0.5842, allocations: 0 / 1.051 GB, free: 5.734 MB / 0.698 GB Notification: Performance of Templates: time 0.6437/1.228, allocations: 6.51 MB / 1.057 GB, free: 152.8 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe 2>&1)