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.0009826/0.0009871, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.008236/0.008235, allocations: 172.4 kB / 16.26 MB, free: 6.613 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: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.07/3.07, allocations: 473.4 MB / 0.7469 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004076/0.0004077, allocations: 11.38 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4039, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating): time 0.001649/0.4056, allocations: 0.5305 MB / 1.075 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002965/0.4086, allocations: 1.361 MB / 1.076 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.4088, allocations: 0 / 1.076 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.87e-05/0.4088, allocations: 11.86 kB / 1.076 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.409, allocations: 15.86 kB / 1.076 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.4101, allocations: 270.7 kB / 1.076 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005432/0.4107, allocations: 343.4 kB / 1.077 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.4109, allocations: 36.86 kB / 1.077 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004061/0.4113, allocations: 131.7 kB / 1.077 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002654/0.4115, allocations: 127.6 kB / 1.077 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.4117, allocations: 24 kB / 1.077 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.4118, allocations: 31.98 kB / 1.077 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.517e-05/0.4119, allocations: 47.88 kB / 1.077 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000248/0.4121, allocations: 169.3 kB / 1.077 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006479/0.4128, allocations: 319.3 kB / 1.077 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.4128, allocations: 0 / 1.077 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.948e-06/0.4128, allocations: 0 / 1.077 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.4128, allocations: 0 / 1.077 GB, free: 4.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.001292/0.4141, allocations: 0.5305 MB / 1.078 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.4142, allocations: 12.03 kB / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000382/0.4146, allocations: 32.73 kB / 1.078 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008894/0.4155, allocations: 310.6 kB / 1.078 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.464e-05/0.4156, allocations: 28.58 kB / 1.078 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.4157, allocations: 40.36 kB / 1.078 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004982/0.4162, allocations: 267.3 kB / 1.079 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.4162, allocations: 0 / 1.079 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.865e-05/0.4162, allocations: 11.98 kB / 1.079 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.4163, allocations: 0 / 1.079 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002461/0.4165, allocations: 128.6 kB / 1.079 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.4176, allocations: 0.6062 MB / 1.079 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006972/0.4183, allocations: 423.5 kB / 1.08 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003944/0.4187, allocations: 176.8 kB / 1.08 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.4187, allocations: 4 kB / 1.08 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008374/0.4196, allocations: 362.8 kB / 1.08 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=44): time 2.334e-06/0.4196, allocations: 0 / 1.08 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44): time 0.001777/0.4214, allocations: 0.6662 MB / 1.081 GB, free: 392 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002379/0.4216, allocations: 67.39 kB / 1.081 GB, free: 312 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.4218, allocations: 147 kB / 1.081 GB, free: 156 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.612e-05/0.4219, allocations: 53.69 kB / 1.081 GB, free: 96 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.422, allocations: 105.2 kB / 1.081 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.4221, allocations: 102.6 kB / 1.081 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.4222, allocations: 65.69 kB / 1.081 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001989/0.4224, allocations: 334.8 kB / 1.082 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003096/0.4228, allocations: 145.1 kB / 1.082 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004176/0.4232, allocations: 304.1 kB / 1.082 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006757/0.4239, allocations: 454.4 kB / 1.083 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.4239, allocations: 0 / 1.083 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001174/0.4251, allocations: 0.565 MB / 1.083 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.06e-05/0.4252, allocations: 67.39 kB / 1.083 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.4252, allocations: 4 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001077/0.4253, allocations: 8.594 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.4254, allocations: 43.86 kB / 1.083 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.676e-05/0.4255, allocations: 23.86 kB / 1.083 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005095/0.426, allocations: 111.5 kB / 1.083 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.368e-05/0.4261, allocations: 35.98 kB / 1.083 GB, free: 13.56 MB / 0.8419 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.0002191/0.4263, allocations: 178.9 kB / 1.084 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.85e-05/0.4264, allocations: 27.8 kB / 1.084 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.148e-05/0.4264, allocations: 26.31 kB / 1.084 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001023/0.4266, allocations: 11.98 kB / 1.084 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.4266, allocations: 3.938 kB / 1.084 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.4266, allocations: 0 / 1.084 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/0.4282, allocations: 1.013 MB / 1.085 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.4282, allocations: 0 / 1.085 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.404e-05/0.4282, allocations: 12 kB / 1.085 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/0.4283, allocations: 8 kB / 1.085 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/0.4283, allocations: 27.91 kB / 1.085 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.4283, allocations: 4 kB / 1.085 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.4283, allocations: 3.938 kB / 1.085 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.4295, allocations: 0.6204 MB / 1.085 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001991/0.4297, allocations: 96.77 kB / 1.085 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.534e-05/0.4297, allocations: 27.97 kB / 1.085 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.4299, allocations: 27.97 kB / 1.085 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.4301, allocations: 43.92 kB / 1.086 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.234e-05/0.4301, allocations: 35.97 kB / 1.086 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001669/0.4303, allocations: 101.3 kB / 1.086 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.4303, allocations: 0 / 1.086 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005049/0.4308, allocations: 99.98 kB / 1.086 GB, free: 11.11 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.0004691/0.4313, allocations: 158.2 kB / 1.086 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009953/0.4323, allocations: 0.5396 MB / 1.086 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4323, allocations: 4 kB / 1.086 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004458/0.4328, allocations: 295.8 kB / 1.087 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.4332, allocations: 50.39 kB / 1.087 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.4346, allocations: 0.5013 MB / 1.087 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007863/0.4354, allocations: 0.7257 MB / 1.088 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001279/0.4355, allocations: 38.95 kB / 1.088 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.254e-05/0.4356, allocations: 27.44 kB / 1.088 GB, free: 8.691 MB / 0.8419 GB Notification: Performance of SimCode: time 5.11e-07/0.4356, allocations: 0 / 1.088 GB, free: 8.691 MB / 0.8419 GB Notification: Performance of Templates: time 0.01169/0.4473, allocations: 3.905 MB / 1.092 GB, free: 4.805 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)