Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, 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.002509/0.002509, allocations: 195.3 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.576/1.576, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.877/2.877, allocations: 472.6 MB / 0.7447 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 64.8 kB / 0.9114 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4268/0.4281, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating): time 0.002571/0.4307, allocations: 0.8771 MB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00239/0.4332, allocations: 1.369 MB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002061/0.4334, allocations: 0 / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.392e-05/0.4335, allocations: 7.922 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001601/0.4337, allocations: 15.86 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.4349, allocations: 270.6 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004693/0.4354, allocations: 343.4 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.4356, allocations: 44.8 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000331/0.4359, allocations: 127.8 kB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003053/0.4363, allocations: 139.6 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.4364, allocations: 23.94 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.4365, allocations: 31.98 kB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.218e-05/0.4366, allocations: 55.81 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002206/0.4368, allocations: 143.6 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005053/0.4373, allocations: 315.4 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.4374, allocations: 0 / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4374, allocations: 4 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.614e-05/0.4374, allocations: 0 / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001625/0.439, allocations: 0.6162 MB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.23e-05/0.4391, allocations: 12.03 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001811/0.4393, allocations: 28.84 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009083/0.4402, allocations: 292.5 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.346e-05/0.4403, allocations: 28.59 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.145e-05/0.4404, allocations: 36.36 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005675/0.4409, allocations: 267.4 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.441, allocations: 4 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.397e-05/0.441, allocations: 7.984 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.441, allocations: 4 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/0.4413, allocations: 124.6 kB / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.4426, allocations: 0.6216 MB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007281/0.4433, allocations: 415.6 kB / 1.074 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003053/0.4436, allocations: 176.8 kB / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.4437, allocations: 7.984 kB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006815/0.4444, allocations: 362.8 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=44): time 1.963e-06/0.4444, allocations: 0 / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44): time 0.001169/0.4455, allocations: 0.6622 MB / 1.075 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.4456, allocations: 63.41 kB / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.4458, allocations: 147.4 kB / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.094e-05/0.4458, allocations: 57.69 kB / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.586e-05/0.4459, allocations: 101 kB / 1.075 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.664e-05/0.446, allocations: 102.8 kB / 1.075 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.4462, allocations: 122.2 kB / 1.075 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.4464, allocations: 342.8 kB / 1.076 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000311/0.4467, allocations: 145.1 kB / 1.076 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004094/0.4472, allocations: 296.1 kB / 1.076 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006289/0.4478, allocations: 458.3 kB / 1.076 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.4478, allocations: 0 / 1.076 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001043/0.4489, allocations: 0.5685 MB / 1.077 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.518e-05/0.4489, allocations: 67.39 kB / 1.077 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.449, allocations: 8 kB / 1.077 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/0.449, allocations: 8 kB / 1.077 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.4492, allocations: 40.45 kB / 1.077 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.103e-05/0.4492, allocations: 15.92 kB / 1.077 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005079/0.4497, allocations: 99.55 kB / 1.077 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.803e-05/0.4498, allocations: 28 kB / 1.077 GB, free: 476 kB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,thrTimWitRes.passed,$PRE.thrTimWitRes.passed,noThrWitRes.passed,$PRE.noThrWitRes.passed,thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,resTim.y,$PRE.resTim.y,thrTimWitRes.reset,noThrWitRes.reset,$whenCondition12,$whenCondition16,booPul.y,$PRE.booPul.y,thrTimWitRes.yAcc,$PRE.thrTimWitRes.yAcc,thrTimWitRes.entryTime,$PRE.thrTimWitRes.entryTime,thrTimWitRes.u,noThrWitRes.yAcc,$PRE.noThrWitRes.yAcc,noThrWitRes.entryTime,$PRE.noThrWitRes.entryTime,noThrWitRes.u,thrTim.yAcc,$PRE.thrTim.yAcc,thrTim.entryTime,$PRE.thrTim.entryTime,thrTim.u,noThr.yAcc,$PRE.noThr.yAcc,noThr.entryTime,$PRE.noThr.entryTime,noThr.u,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition15,$whenCondition14,$whenCondition13,con.y,noThr.reset,$whenCondition4,thrTim.reset,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 2 * 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.0002128/0.45, allocations: 186.9 kB / 1.077 GB, free: 276 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.456e-05/0.4501, allocations: 31.72 kB / 1.077 GB, free: 244 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.863e-05/0.4501, allocations: 26.3 kB / 1.078 GB, free: 220 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.4501, allocations: 4.062 kB / 1.078 GB, free: 216 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.42e-05/0.4502, allocations: 7.938 kB / 1.078 GB, free: 208 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/0.4502, allocations: 7.938 kB / 1.078 GB, free: 200 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/0.4519, allocations: 1.01 MB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.4519, allocations: 0 / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.354e-05/0.452, allocations: 23.92 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.452, allocations: 0 / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.906e-05/0.452, allocations: 19.97 kB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.452, allocations: 0 / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4521, allocations: 3.938 kB / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008736/0.4529, allocations: 0.6165 MB / 1.079 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.461e-05/0.453, allocations: 100.9 kB / 1.079 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.387e-05/0.4531, allocations: 19.98 kB / 1.079 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.4533, allocations: 31.95 kB / 1.079 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.4534, allocations: 43.92 kB / 1.079 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.66e-05/0.4535, allocations: 31.98 kB / 1.079 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.942e-05/0.4536, allocations: 109.2 kB / 1.079 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4536, allocations: 0 / 1.079 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004884/0.4541, allocations: 99.98 kB / 1.08 GB, free: 14 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 (thrTimWitRes.u,noThrWitRes.u,thrTim.u,noThr.u,noThrWitRes.reset,thrTimWitRes.reset,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y) * Number of discrete states: 16 (thrTim.entryTime,thrTim.yAcc,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.entryTime,thrTimWitRes.yAcc,noThr.entryTime,noThr.yAcc,thrTimWitRes.y,thrTimWitRes.passed,noThrWitRes.y,noThrWitRes.passed,thrTim.y,thrTim.passed,noThr.y,noThr.passed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0002799/0.4544, allocations: 158.2 kB / 1.08 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009329/0.4553, allocations: 0.5404 MB / 1.08 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4553, allocations: 320 / 1.08 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004488/0.4558, allocations: 303.8 kB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.4562, allocations: 43.89 kB / 1.081 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.4572, allocations: 0.4908 MB / 1.081 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/0.4577, allocations: 0.7335 MB / 1.082 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001156/0.4578, allocations: 30.97 kB / 1.082 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.688e-05/0.4579, allocations: 31.42 kB / 1.082 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of SimCode: time 5.41e-07/0.4579, allocations: 0 / 1.082 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of Templates: time 0.009574/0.4675, allocations: 3.932 MB / 1.086 GB, free: 7.68 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1)