Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001773/0.001779, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002626/0.002626, allocations: 193.5 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.941/1.941, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.724/1.724, allocations: 251.7 MB / 0.5088 GB, free: 3.305 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001502, allocations: 67.91 kB / 0.6216 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6501/0.6517, allocations: 104.7 MB / 0.7238 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.003556/0.6553, allocations: 1.794 MB / 0.7256 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006708/0.656, allocations: 383.8 kB / 0.7259 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.828e-05/0.656, allocations: 3.938 kB / 0.726 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.6562, allocations: 19.86 kB / 0.726 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.627e-05/0.6563, allocations: 27.7 kB / 0.726 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.6565, allocations: 91.91 kB / 0.7261 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002652/0.6568, allocations: 231.4 kB / 0.7263 GB, free: 10.56 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.657, allocations: 73.31 kB / 0.7264 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.189e-05/0.6571, allocations: 79.7 kB / 0.7265 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.6572, allocations: 103.6 kB / 0.7266 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.231e-05/0.6572, allocations: 12 kB / 0.7266 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.986e-05/0.6573, allocations: 12 kB / 0.7266 GB, free: 10.28 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.259e-05/0.6573, allocations: 47.88 kB / 0.7266 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.6575, allocations: 107.5 kB / 0.7267 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.6577, allocations: 205.2 kB / 0.7269 GB, free: 9.93 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.6577, allocations: 0 / 0.7269 GB, free: 9.93 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6577, allocations: 0 / 0.7269 GB, free: 9.93 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.6577, allocations: 0 / 0.7269 GB, free: 9.93 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008976/0.6586, allocations: 0.5172 MB / 0.7274 GB, free: 9.363 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.6587, allocations: 8.031 kB / 0.7274 GB, free: 9.355 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.956e-05/0.6587, allocations: 24.75 kB / 0.7275 GB, free: 9.332 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004268/0.6592, allocations: 264.3 kB / 0.7277 GB, free: 9.035 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.6592, allocations: 28.69 kB / 0.7277 GB, free: 9.008 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.26e-05/0.6592, allocations: 20.38 kB / 0.7278 GB, free: 8.988 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003076/0.6596, allocations: 180.7 kB / 0.7279 GB, free: 8.809 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.6596, allocations: 3.938 kB / 0.7279 GB, free: 8.805 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.559e-05/0.6596, allocations: 11.98 kB / 0.7279 GB, free: 8.793 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.6596, allocations: 4 kB / 0.7279 GB, free: 8.789 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002096/0.6598, allocations: 115.9 kB / 0.7281 GB, free: 8.676 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009697/0.6608, allocations: 0.5156 MB / 0.7286 GB, free: 8.109 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004186/0.6612, allocations: 206.4 kB / 0.7288 GB, free: 7.898 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.6614, allocations: 104.8 kB / 0.7289 GB, free: 7.793 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.6614, allocations: 4 kB / 0.7289 GB, free: 7.789 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005207/0.6619, allocations: 251.2 kB / 0.7291 GB, free: 7.531 MB / 0.545 GB Notification: Performance of pre-optimization done (n=39): time 1.854e-06/0.662, allocations: 0 / 0.7291 GB, free: 7.531 MB / 0.545 GB Notification: Performance of matching and sorting (n=39): time 0.0007219/0.6627, allocations: 434 kB / 0.7295 GB, free: 7.102 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.6628, allocations: 71.38 kB / 0.7296 GB, free: 7.02 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.6629, allocations: 152.8 kB / 0.7297 GB, free: 6.863 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/0.663, allocations: 41.7 kB / 0.7298 GB, free: 6.816 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.412e-05/0.663, allocations: 112.9 kB / 0.7299 GB, free: 6.703 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.27e-05/0.6631, allocations: 90.88 kB / 0.73 GB, free: 6.613 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.6632, allocations: 94.19 kB / 0.7301 GB, free: 6.516 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.6634, allocations: 330.8 kB / 0.7304 GB, free: 6.184 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.6635, allocations: 101.1 kB / 0.7305 GB, free: 6.082 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.6637, allocations: 154.2 kB / 0.7306 GB, free: 5.922 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002994/0.664, allocations: 219.1 kB / 0.7308 GB, free: 5.691 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.6641, allocations: 8 kB / 0.7308 GB, free: 5.684 MB / 0.545 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005429/0.6646, allocations: 323.8 kB / 0.7311 GB, free: 5.363 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.6646, allocations: 7.938 kB / 0.7311 GB, free: 5.355 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.6647, allocations: 0 / 0.7311 GB, free: 5.355 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.6647, allocations: 4 kB / 0.7311 GB, free: 5.352 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.6648, allocations: 39.86 kB / 0.7312 GB, free: 5.312 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.6649, allocations: 4 kB / 0.7312 GB, free: 5.309 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.665, allocations: 43.84 kB / 0.7312 GB, free: 5.266 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.6651, allocations: 16 kB / 0.7312 GB, free: 5.25 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 54 (resetTimer.yAcc,$PRE.resetTimer.yAcc,$whenCondition15,$whenCondition14,$whenCondition13,resetTimer.reset_internal,$PRE.resetTimer.reset_internal,booPul2.pulseStart,$PRE.booPul2.pulseStart,booPul2.y,booPul.pulseStart,$PRE.booPul.pulseStart,pre.u,$PRE.pre.u,booPul1.pulseStart,$PRE.booPul1.pulseStart,accuTimer3.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer3.yAcc,$PRE.accuTimer3.yAcc,accuTimer3.entryTime,$PRE.accuTimer3.entryTime,accuTimer2.reset_internal,$PRE.accuTimer2.reset_internal,accuTimer2.yAcc,$PRE.accuTimer2.yAcc,accuTimer2.entryTime,$PRE.accuTimer2.entryTime,accuTimer1.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer1.yAcc,$PRE.accuTimer1.yAcc,accuTimer1.entryTime,$PRE.accuTimer1.entryTime,accuTimer.reset_internal,$PRE.accuTimer.reset_internal,accuTimer.yAcc,$PRE.accuTimer.yAcc,accuTimer.entryTime,$PRE.accuTimer.entryTime,resetTimer.entryTime,$PRE.resetTimer.entryTime,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition9,$whenCondition8,$whenCondition10,$whenCondition12,$whenCondition11) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 59 * 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 0.0002184/0.6653, allocations: 163 kB / 0.7314 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.6653, allocations: 19.75 kB / 0.7314 GB, free: 5.062 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.294e-05/0.6654, allocations: 29.95 kB / 0.7314 GB, free: 5.031 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.6654, allocations: 4 kB / 0.7315 GB, free: 5.027 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.6654, allocations: 0 / 0.7315 GB, free: 5.027 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.6654, allocations: 0 / 0.7315 GB, free: 5.027 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009968/0.6664, allocations: 0.7404 MB / 0.7322 GB, free: 4.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.6664, allocations: 0 / 0.7322 GB, free: 4.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.868e-05/0.6665, allocations: 23.92 kB / 0.7322 GB, free: 4.207 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.6665, allocations: 4 kB / 0.7322 GB, free: 4.203 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.6666, allocations: 11.98 kB / 0.7322 GB, free: 4.191 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.6666, allocations: 0 / 0.7322 GB, free: 4.191 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.6666, allocations: 4 kB / 0.7322 GB, free: 4.188 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005111/0.6671, allocations: 435 kB / 0.7326 GB, free: 3.746 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.035e-05/0.6671, allocations: 100.8 kB / 0.7327 GB, free: 3.629 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.837e-05/0.6672, allocations: 19.92 kB / 0.7327 GB, free: 3.609 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.6674, allocations: 15.98 kB / 0.7328 GB, free: 3.594 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/0.6675, allocations: 35.94 kB / 0.7328 GB, free: 3.559 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.6676, allocations: 23.92 kB / 0.7328 GB, free: 3.535 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.213e-05/0.6677, allocations: 115.2 kB / 0.7329 GB, free: 3.422 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.705e-06/0.6677, allocations: 0 / 0.7329 GB, free: 3.422 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002967/0.668, allocations: 71.94 kB / 0.733 GB, free: 3.352 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 34 (booPul2.y,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer.reset_internal,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer1.reset_internal,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer2.reset_internal,accuTimer3.entryTime,accuTimer3.yAcc,accuTimer3.reset_internal,booPul1.pulseStart,pre.u,booPul.pulseStart,booPul2.pulseStart) * Number of discrete states: 10 (pre.u,accuTimer2.reset_internal,accuTimer1.reset_internal,accuTimer3.reset_internal,accuTimer.reset_internal,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002157/0.6682, allocations: 122.5 kB / 0.7331 GB, free: 3.227 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004317/0.6686, allocations: 278.2 kB / 0.7334 GB, free: 2.953 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.816e-06/0.6686, allocations: 256 / 0.7334 GB, free: 2.953 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.6689, allocations: 159.9 kB / 0.7335 GB, free: 2.797 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.6692, allocations: 39.91 kB / 0.7336 GB, free: 2.758 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006986/0.6699, allocations: 462.5 kB / 0.734 GB, free: 2.277 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.6703, allocations: 0.7416 MB / 0.7347 GB, free: 1.512 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001054/0.6704, allocations: 30.97 kB / 0.7348 GB, free: 1.484 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.318e-05/0.6705, allocations: 27.44 kB / 0.7348 GB, free: 1.457 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.6705, allocations: 0 / 0.7348 GB, free: 1.457 MB / 0.545 GB Notification: Performance of Templates: time 0.005563/0.676, allocations: 2.367 MB / 0.7371 GB, free: 15.11 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)