Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.609/2.609, allocations: 284.8 MB / 297.3 MB, free: 6.309 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001419/0.001419, allocations: 167.8 kB / 365.7 MB, free: 2.594 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.96/1.96, allocations: 205.1 MB / 0.6241 GB, free: 8.191 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001044/0.001043, allocations: 98.92 kB / 0.7372 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.21e-05/3.22e-05, allocations: 4 kB / 0.8575 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8148/0.8148, allocations: 115.2 MB / 0.97 GB, free: 78.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2388/1.054, allocations: 138.5 MB / 1.105 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/1.054, allocations: 67.91 kB / 1.105 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03302/1.087, allocations: 6.116 MB / 1.111 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.244e-06/1.087, allocations: 0 / 1.111 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.826e-05/1.087, allocations: 12 kB / 1.111 GB, free: 7.852 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.002544/1.09, allocations: 0.7368 MB / 1.112 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/1.09, allocations: 12.03 kB / 1.112 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002662/1.09, allocations: 71.5 kB / 1.112 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/1.09, allocations: 212.6 kB / 1.112 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/1.09, allocations: 52.38 kB / 1.112 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002383/1.091, allocations: 83.95 kB / 1.112 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/1.092, allocations: 473.5 kB / 1.113 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/1.092, allocations: 0 / 1.113 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/1.092, allocations: 23.95 kB / 1.113 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/1.092, allocations: 8 kB / 1.113 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008428/1.093, allocations: 237.4 kB / 1.113 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003233/1.096, allocations: 1.083 MB / 1.114 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001876/1.098, allocations: 0.6401 MB / 1.115 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009314/1.099, allocations: 329.7 kB / 1.115 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/1.099, allocations: 4.875 kB / 1.115 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001929/1.101, allocations: 0.7485 MB / 1.116 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=102): time 3.657e-06/1.101, allocations: 0 / 1.116 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of matching and sorting (n=102): time 0.003895/1.105, allocations: 1.228 MB / 1.117 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/1.105, allocations: 97.97 kB / 1.117 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004287/1.106, allocations: 234.6 kB / 1.117 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002507/1.106, allocations: 67.77 kB / 1.117 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/1.106, allocations: 142.2 kB / 1.118 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/1.107, allocations: 205.5 kB / 1.118 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-05/1.107, allocations: 28 kB / 1.118 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002144/1.107, allocations: 366.8 kB / 1.118 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008687/1.108, allocations: 250.6 kB / 1.118 GB, free: 332 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001268/1.109, allocations: 0.5993 MB / 1.119 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/1.11, allocations: 363.4 kB / 1.119 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/1.11, allocations: 0 / 1.119 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002863/1.113, allocations: 1.006 MB / 1.12 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.679e-05/1.113, allocations: 75.39 kB / 1.12 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.787e-05/1.113, allocations: 12 kB / 1.12 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.242e-05/1.113, allocations: 20 kB / 1.12 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008364/1.114, allocations: 128.3 kB / 1.12 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.956e-05/1.114, allocations: 23.89 kB / 1.121 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/1.116, allocations: 163.4 kB / 1.121 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001816/1.116, allocations: 63.98 kB / 1.121 GB, free: 13.68 MB / 0.7292 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 () * 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.0005439/1.116, allocations: 241 kB / 1.121 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002022/1.117, allocations: 71.41 kB / 1.121 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001443/1.117, allocations: 51.39 kB / 1.121 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/1.117, allocations: 12 kB / 1.121 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/1.117, allocations: 0 / 1.121 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/1.117, allocations: 9.344 kB / 1.121 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005721/1.123, allocations: 2.144 MB / 1.123 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/1.123, allocations: 0 / 1.123 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/1.123, allocations: 27.86 kB / 1.123 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.627e-05/1.123, allocations: 4 kB / 1.123 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001344/1.123, allocations: 35.95 kB / 1.123 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.07e-05/1.123, allocations: 8 kB / 1.123 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/1.123, allocations: 0 / 1.123 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003574/1.127, allocations: 1.426 MB / 1.125 GB, free: 9.559 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/1.127, allocations: 120.4 kB / 1.125 GB, free: 9.422 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002078/1.127, allocations: 39.95 kB / 1.125 GB, free: 9.383 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008137/1.128, allocations: 67.91 kB / 1.125 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002895/1.128, allocations: 92.72 kB / 1.125 GB, free: 9.227 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001634/1.128, allocations: 75.95 kB / 1.125 GB, free: 9.152 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002394/1.129, allocations: 167.1 kB / 1.125 GB, free: 8.988 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.821e-06/1.129, allocations: 1.875 kB / 1.125 GB, free: 8.988 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001231/1.13, allocations: 223.9 kB / 1.125 GB, free: 8.77 MB / 0.7292 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) * 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.0004299/1.13, allocations: 195.5 kB / 1.126 GB, free: 8.57 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002801/1.133, allocations: 0.9661 MB / 1.127 GB, free: 7.582 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/1.133, allocations: 5.938 kB / 1.127 GB, free: 7.578 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001562/1.135, allocations: 0.6181 MB / 1.127 GB, free: 6.961 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006079/1.135, allocations: 57.44 kB / 1.127 GB, free: 6.906 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/1.138, allocations: 0.7842 MB / 1.128 GB, free: 6.09 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005391/1.138, allocations: 0.8347 MB / 1.129 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003999/1.139, allocations: 68.91 kB / 1.129 GB, free: 5.156 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002499/1.139, allocations: 59.42 kB / 1.129 GB, free: 5.102 MB / 0.7292 GB Notification: Performance of SimCode: time 1.122e-06/1.139, allocations: 0 / 1.129 GB, free: 5.102 MB / 0.7292 GB Notification: Performance of Templates: time 0.02493/1.164, allocations: 7.421 MB / 1.136 GB, free: 13.78 MB / 0.7448 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)