Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.599/1.599, allocations: 297.8 MB / 313.7 MB, free: 128 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 181.9 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 223.2 MB / 0.6626 GB, free: 4.316 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007832/0.0007831, allocations: 95.81 kB / 0.7808 GB, free: 43.78 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004154/0.0004155, allocations: 15.94 kB / 0.9088 GB, free: 0.6367 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5404/0.5409, allocations: 120.3 MB / 1.026 GB, free: 56.84 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1751/0.716, allocations: 141.9 MB / 1.165 GB, free: 284 kB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.7162, allocations: 82.09 kB / 1.165 GB, free: 204 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01744/0.7337, allocations: 6.145 MB / 1.171 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.244e-06/0.7337, allocations: 3.938 kB / 1.171 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.707e-05/0.7338, allocations: 12 kB / 1.171 GB, free: 10.08 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001665/0.7354, allocations: 0.7727 MB / 1.172 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.7355, allocations: 12.03 kB / 1.172 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002625/0.7358, allocations: 68.53 kB / 1.172 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.7359, allocations: 211.8 kB / 1.172 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.736, allocations: 49.97 kB / 1.172 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/0.7362, allocations: 88.33 kB / 1.172 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008754/0.7371, allocations: 490 kB / 1.173 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.7371, allocations: 192 / 1.173 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.08e-05/0.7372, allocations: 31.89 kB / 1.173 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.7372, allocations: 4 kB / 1.173 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005403/0.7378, allocations: 245.2 kB / 1.173 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001909/0.7397, allocations: 1.087 MB / 1.174 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/0.7409, allocations: 0.6678 MB / 1.175 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005952/0.7415, allocations: 343.1 kB / 1.175 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.7416, allocations: 8 kB / 1.175 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001374/0.7429, allocations: 0.7788 MB / 1.176 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=102): time 3.367e-06/0.743, allocations: 0 / 1.176 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of matching and sorting (n=102): time 0.003118/0.7461, allocations: 1.601 MB / 1.177 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/0.7462, allocations: 93.97 kB / 1.177 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.7464, allocations: 270.3 kB / 1.178 GB, free: 3.066 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.7465, allocations: 69.69 kB / 1.178 GB, free: 2.992 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.7466, allocations: 138.2 kB / 1.178 GB, free: 2.852 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001732/0.7468, allocations: 221.4 kB / 1.178 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.052e-05/0.7469, allocations: 24 kB / 1.178 GB, free: 2.609 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.747, allocations: 374.7 kB / 1.178 GB, free: 2.234 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00058/0.7476, allocations: 254.5 kB / 1.179 GB, free: 1.984 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007237/0.7483, allocations: 0.6187 MB / 1.179 GB, free: 1.199 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.7495, allocations: 0.9197 MB / 1.18 GB, free: 108 kB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/0.7495, allocations: 0 / 1.18 GB, free: 108 kB / 0.7448 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00172/0.7513, allocations: 1.031 MB / 1.181 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 6.118e-05/0.7513, allocations: 75.42 kB / 1.181 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/0.7514, allocations: 12 kB / 1.181 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.829e-05/0.7514, allocations: 20 kB / 1.181 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003741/0.7518, allocations: 127.6 kB / 1.181 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.312e-05/0.7518, allocations: 23.92 kB / 1.181 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000683/0.7525, allocations: 151.5 kB / 1.182 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.95e-05/0.7526, allocations: 63.98 kB / 1.182 GB, free: 14.57 MB / 0.7605 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.0003233/0.7529, allocations: 267 kB / 1.182 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.753, allocations: 75.31 kB / 1.182 GB, free: 14.22 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.522e-05/0.7531, allocations: 51.62 kB / 1.182 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.7531, allocations: 12 kB / 1.182 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.557e-06/0.7532, allocations: 0 / 1.182 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.7532, allocations: 7.969 kB / 1.182 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003141/0.7563, allocations: 2.183 MB / 1.184 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.7563, allocations: 8 kB / 1.184 GB, free: 11.9 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.922e-05/0.7564, allocations: 31.8 kB / 1.184 GB, free: 11.87 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.7564, allocations: 4 kB / 1.184 GB, free: 11.87 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.514e-05/0.7565, allocations: 31.95 kB / 1.184 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.7565, allocations: 4 kB / 1.184 GB, free: 11.83 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.7565, allocations: 7.984 kB / 1.184 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001964/0.7585, allocations: 1.448 MB / 1.186 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 8.599e-05/0.7586, allocations: 126.9 kB / 1.186 GB, free: 10.22 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.746e-05/0.7587, allocations: 39.95 kB / 1.186 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/0.7591, allocations: 59.92 kB / 1.186 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.7592, allocations: 96.72 kB / 1.186 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.139e-05/0.7593, allocations: 79.94 kB / 1.186 GB, free: 9.953 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000132/0.7595, allocations: 162 kB / 1.186 GB, free: 9.797 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.413e-06/0.7595, allocations: 0 / 1.186 GB, free: 9.797 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0007851/0.7603, allocations: 231.9 kB / 1.186 GB, free: 9.57 MB / 0.7605 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.0003184/0.7606, allocations: 195.5 kB / 1.187 GB, free: 9.371 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001686/0.7623, allocations: 0.9957 MB / 1.188 GB, free: 8.355 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.7623, allocations: 384 / 1.188 GB, free: 8.355 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0008481/0.7632, allocations: 0.6374 MB / 1.188 GB, free: 7.715 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005607/0.7637, allocations: 84.45 kB / 1.188 GB, free: 7.633 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.7655, allocations: 1.068 MB / 1.189 GB, free: 6.527 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.7658, allocations: 0.8271 MB / 1.19 GB, free: 5.672 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002096/0.766, allocations: 72.91 kB / 1.19 GB, free: 5.602 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.7662, allocations: 55.42 kB / 1.19 GB, free: 5.547 MB / 0.7605 GB Notification: Performance of SimCode: time 2.21e-07/0.7662, allocations: 0 / 1.19 GB, free: 5.547 MB / 0.7605 GB Notification: Performance of Templates: time 0.01403/0.7802, allocations: 7.496 MB / 1.198 GB, free: 14.11 MB / 0.7761 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe 2>&1)