Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.509/2.509, allocations: 287.5 MB / 303.2 MB, free: 8.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001312/0.001312, allocations: 166.4 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.074/2.074, allocations: 205.4 MB / 0.6305 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008726/0.0008723, allocations: 96.84 kB / 0.7438 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007132/0.0007134, allocations: 12.34 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2546, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9224/1.177, allocations: 138.6 MB / 1.115 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/1.177, allocations: 75.33 kB / 1.115 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02874/1.206, allocations: 6.147 MB / 1.121 GB, free: 31.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.655e-06/1.206, allocations: 0 / 1.121 GB, free: 31.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.77e-05/1.206, allocations: 7.625 kB / 1.121 GB, free: 31.2 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.002436/1.209, allocations: 0.7829 MB / 1.121 GB, free: 30.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/1.209, allocations: 7.719 kB / 1.121 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000224/1.209, allocations: 68.53 kB / 1.122 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/1.209, allocations: 210.3 kB / 1.122 GB, free: 30.42 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/1.209, allocations: 53.08 kB / 1.122 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001973/1.209, allocations: 89.02 kB / 1.122 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/1.211, allocations: 492.2 kB / 1.122 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/1.211, allocations: 192 / 1.122 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.955e-05/1.211, allocations: 33.03 kB / 1.122 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/1.211, allocations: 3.844 kB / 1.122 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009128/1.212, allocations: 251 kB / 1.123 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002764/1.215, allocations: 1.081 MB / 1.124 GB, free: 29.97 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/1.217, allocations: 0.6665 MB / 1.124 GB, free: 29.92 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009845/1.218, allocations: 338.1 kB / 1.125 GB, free: 29.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/1.218, allocations: 8.625 kB / 1.125 GB, free: 29.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001852/1.22, allocations: 0.7778 MB / 1.125 GB, free: 29.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=102): time 3.657e-06/1.22, allocations: 0 / 1.125 GB, free: 29.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=102): time 0.004561/1.224, allocations: 1.597 MB / 1.127 GB, free: 29.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.841e-05/1.224, allocations: 95.25 kB / 1.127 GB, free: 29.61 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000333/1.225, allocations: 269.8 kB / 1.127 GB, free: 29.49 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001752/1.225, allocations: 69.34 kB / 1.127 GB, free: 29.46 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/1.225, allocations: 151 kB / 1.128 GB, free: 29.36 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002049/1.225, allocations: 208.8 kB / 1.128 GB, free: 29.26 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.551e-05/1.225, allocations: 24.91 kB / 1.128 GB, free: 29.26 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001737/1.225, allocations: 371.6 kB / 1.128 GB, free: 28.94 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009601/1.226, allocations: 254 kB / 1.128 GB, free: 28.94 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/1.228, allocations: 0.6324 MB / 1.129 GB, free: 28.48 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001888/1.229, allocations: 0.9139 MB / 1.13 GB, free: 27.91 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-05/1.23, allocations: 3.875 kB / 1.13 GB, free: 27.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002916/1.232, allocations: 1.034 MB / 1.131 GB, free: 27.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000106/1.233, allocations: 71.84 kB / 1.131 GB, free: 27.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/1.233, allocations: 19.52 kB / 1.131 GB, free: 27.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.815e-05/1.233, allocations: 15.44 kB / 1.131 GB, free: 27.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007318/1.233, allocations: 127.6 kB / 1.131 GB, free: 27.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.472e-05/1.233, allocations: 30.34 kB / 1.131 GB, free: 27.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/1.235, allocations: 149.6 kB / 1.131 GB, free: 27.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/1.235, allocations: 66.45 kB / 1.131 GB, free: 27.57 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 136 ($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,$PRE.onDelay0.t_next,$whenCondition47,$PRE.onDelay1.t_next,$whenCondition44,$PRE.onDelay2.t_next,$whenCondition41,$PRE.onDelay4.t_next,$whenCondition38,$PRE.onDelay5.t_next,$whenCondition35,$PRE.onDelay6.t_next,$whenCondition32,$PRE.onDelay3.t_next,$whenCondition29,$PRE.onDelay7.t_next,$whenCondition27,$whenCondition28,onDelay0.t_next,onDelay1.t_next,onDelay2.t_next,onDelay4.t_next,onDelay5.t_next,onDelay6.t_next,onDelay3.t_next,onDelay7.t_next,$whenCondition51,$whenCondition52,$whenCondition48,$whenCondition49,$whenCondition45,$whenCondition46,$whenCondition42,$whenCondition43,$whenCondition39,$whenCondition40,$whenCondition36,$whenCondition37,$whenCondition33,$whenCondition34,$whenCondition30,$whenCondition31,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.y,booPul.y,$whenCondition24,$PRE.onDelay00.t_next,$whenCondition21,$PRE.onDelay11.t_next,$whenCondition18,$PRE.onDelay22.t_next,$whenCondition15,$PRE.onDelay44.t_next,$whenCondition12,$PRE.onDelay55.t_next,$whenCondition9,$PRE.onDelay66.t_next,$whenCondition6,$PRE.onDelay33.t_next,$whenCondition3,$PRE.onDelay77.t_next,$whenCondition1,$whenCondition2,onDelay00.t_next,onDelay11.t_next,onDelay22.t_next,onDelay44.t_next,onDelay55.t_next,onDelay66.t_next,onDelay33.t_next,onDelay77.t_next,$whenCondition25,$whenCondition26,$whenCondition22,$whenCondition23,$whenCondition19,$whenCondition20,$whenCondition16,$whenCondition17,$whenCondition13,$whenCondition14,$whenCondition10,$whenCondition11,$whenCondition7,$whenCondition8,$whenCondition4,$whenCondition5,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.y,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 2 * 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.0007009/1.236, allocations: 272.1 kB / 1.132 GB, free: 27.41 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/1.236, allocations: 78.64 kB / 1.132 GB, free: 27.38 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/1.236, allocations: 47.53 kB / 1.132 GB, free: 27.37 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/1.236, allocations: 13.94 kB / 1.132 GB, free: 27.37 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.535e-05/1.236, allocations: 0 / 1.132 GB, free: 27.37 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/1.236, allocations: 4.5 kB / 1.132 GB, free: 27.37 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005346/1.242, allocations: 2.186 MB / 1.134 GB, free: 26.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/1.242, allocations: 0 / 1.134 GB, free: 26.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.807e-05/1.242, allocations: 23.52 kB / 1.134 GB, free: 26.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/1.242, allocations: 3.844 kB / 1.134 GB, free: 26.91 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000144/1.242, allocations: 39.41 kB / 1.134 GB, free: 26.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.307e-06/1.242, allocations: 7.75 kB / 1.134 GB, free: 26.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.242, allocations: 0 / 1.134 GB, free: 26.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003254/1.245, allocations: 1.451 MB / 1.135 GB, free: 26.65 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/1.245, allocations: 123.6 kB / 1.135 GB, free: 26.52 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/1.246, allocations: 35.39 kB / 1.135 GB, free: 26.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007033/1.246, allocations: 66.84 kB / 1.136 GB, free: 26.52 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002172/1.247, allocations: 93.58 kB / 1.136 GB, free: 26.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/1.247, allocations: 81.62 kB / 1.136 GB, free: 26.52 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002018/1.247, allocations: 162.1 kB / 1.136 GB, free: 26.43 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.247, allocations: 0 / 1.136 GB, free: 26.43 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001146/1.248, allocations: 223.5 kB / 1.136 GB, free: 26.43 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: 102 (onDelay00.u,onDelay11.u,onDelay22.u,onDelay33.u,onDelay44.u,onDelay55.u,onDelay77.u,onDelay66.u,$whenCondition24,$whenCondition25,$whenCondition26,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,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.y,onDelay0.u,onDelay1.u,onDelay2.u,onDelay3.u,onDelay4.u,onDelay5.u,onDelay7.u,onDelay6.u,$whenCondition50,$whenCondition51,$whenCondition52,$whenCondition47,$whenCondition48,$whenCondition49,$whenCondition44,$whenCondition45,$whenCondition46,$whenCondition41,$whenCondition42,$whenCondition43,$whenCondition38,$whenCondition39,$whenCondition40,$whenCondition35,$whenCondition36,$whenCondition37,$whenCondition32,$whenCondition33,$whenCondition34,$whenCondition29,$whenCondition30,$whenCondition31,$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.y) * Number of discrete states: 16 (onDelay0.t_next,onDelay1.t_next,onDelay2.t_next,onDelay4.t_next,onDelay5.t_next,onDelay6.t_next,onDelay3.t_next,onDelay7.t_next,onDelay00.t_next,onDelay11.t_next,onDelay22.t_next,onDelay44.t_next,onDelay55.t_next,onDelay66.t_next,onDelay33.t_next,onDelay77.t_next) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 68 * 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.0003543/1.248, allocations: 204.5 kB / 1.136 GB, free: 26.31 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002664/1.251, allocations: 0.9835 MB / 1.137 GB, free: 26.06 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.251, allocations: 4.125 kB / 1.137 GB, free: 26.06 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001421/1.253, allocations: 0.6425 MB / 1.138 GB, free: 25.98 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008627/1.253, allocations: 88.08 kB / 1.138 GB, free: 25.95 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/1.256, allocations: 1.073 MB / 1.139 GB, free: 25.41 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/1.256, allocations: 0.8231 MB / 1.14 GB, free: 24.66 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003471/1.257, allocations: 71.5 kB / 1.14 GB, free: 24.64 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/1.257, allocations: 57.3 kB / 1.14 GB, free: 24.62 MB / 0.698 GB Notification: Performance of SimCode: time 1.463e-06/1.257, allocations: 0 / 1.14 GB, free: 24.62 MB / 0.698 GB Notification: Performance of Templates: time 0.02089/1.278, allocations: 7.445 MB / 1.147 GB, free: 20.96 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe 2>&1)