Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.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.TimerAccumulatingNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001147, allocations: 91.3 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.01001/0.01001, 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.633/1.633, allocations: 223.3 MB / 240.3 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.186/3.186, allocations: 473.4 MB / 0.7469 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000434/0.000434, allocations: 14.05 kB / 0.9158 GB, free: 33.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4352/0.4357, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime): time 0.001074/0.4368, allocations: 0.5305 MB / 1.075 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001864/0.4387, allocations: 1.365 MB / 1.076 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.747e-05/0.4387, allocations: 4 kB / 1.076 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.187e-05/0.4388, allocations: 11.92 kB / 1.076 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.4389, allocations: 15.84 kB / 1.076 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007216/0.4396, allocations: 267.1 kB / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003454/0.44, allocations: 339.4 kB / 1.077 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.4401, allocations: 40.88 kB / 1.077 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.4403, allocations: 131.7 kB / 1.077 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.4405, allocations: 127.6 kB / 1.077 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.587e-05/0.4405, allocations: 20 kB / 1.077 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.228e-05/0.4406, allocations: 31.98 kB / 1.077 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.199e-05/0.4407, allocations: 51.81 kB / 1.077 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.4409, allocations: 173.3 kB / 1.077 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003407/0.4412, allocations: 315.3 kB / 1.077 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4413, allocations: 0 / 1.077 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.325e-06/0.4413, allocations: 0 / 1.077 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.4413, allocations: 0 / 1.077 GB, free: 4.145 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.0009152/0.4422, allocations: 0.5305 MB / 1.078 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.4422, allocations: 12.03 kB / 1.078 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.523e-05/0.4423, allocations: 40.73 kB / 1.078 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007995/0.4431, allocations: 309.7 kB / 1.078 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.621e-05/0.4432, allocations: 28.58 kB / 1.078 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.3e-05/0.4433, allocations: 40.36 kB / 1.078 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004425/0.4437, allocations: 259.4 kB / 1.079 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.4437, allocations: 0 / 1.079 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.412e-05/0.4438, allocations: 11.97 kB / 1.079 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.4438, allocations: 11.94 kB / 1.079 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002388/0.4441, allocations: 124.6 kB / 1.079 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.4451, allocations: 0.6062 MB / 1.079 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005914/0.4457, allocations: 422.8 kB / 1.08 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002604/0.4459, allocations: 176.8 kB / 1.08 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.446, allocations: 4 kB / 1.08 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006147/0.4466, allocations: 362.7 kB / 1.08 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=44): time 2.204e-06/0.4466, allocations: 3.938 kB / 1.08 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44): time 0.001108/0.4477, allocations: 0.6584 MB / 1.081 GB, free: 388 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.4478, allocations: 67.45 kB / 1.081 GB, free: 308 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.4479, allocations: 156.1 kB / 1.081 GB, free: 144 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.532e-05/0.448, allocations: 53.7 kB / 1.081 GB, free: 84 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.4481, allocations: 101.1 kB / 1.081 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.047e-05/0.4482, allocations: 106.7 kB / 1.081 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.541e-05/0.4483, allocations: 61.69 kB / 1.081 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.4485, allocations: 342.7 kB / 1.082 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002795/0.4488, allocations: 141.1 kB / 1.082 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003742/0.4491, allocations: 300.1 kB / 1.082 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005645/0.4497, allocations: 462.3 kB / 1.083 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.4497, allocations: 0 / 1.083 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009072/0.4506, allocations: 0.5612 MB / 1.083 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.067e-05/0.4507, allocations: 71.39 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.4507, allocations: 4 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.4508, allocations: 8 kB / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.4509, allocations: 43.86 kB / 1.083 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.918e-05/0.451, allocations: 15.92 kB / 1.083 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004999/0.4515, allocations: 111.9 kB / 1.083 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.945e-05/0.4515, allocations: 35.98 kB / 1.083 GB, free: 13.55 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.0002235/0.4518, allocations: 190.8 kB / 1.084 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.271e-05/0.4518, allocations: 23.81 kB / 1.084 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.164e-05/0.4519, allocations: 26.3 kB / 1.084 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.4519, allocations: 4 kB / 1.084 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.4519, allocations: 7.938 kB / 1.084 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.4519, allocations: 4 kB / 1.084 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.4535, allocations: 1.01 MB / 1.085 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.4535, allocations: 0 / 1.085 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.582e-05/0.4535, allocations: 12 kB / 1.085 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.4536, allocations: 11.92 kB / 1.085 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.369e-05/0.4536, allocations: 11.98 kB / 1.085 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.4536, allocations: 11.88 kB / 1.085 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4536, allocations: 0 / 1.085 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007886/0.4544, allocations: 0.6205 MB / 1.085 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.4545, allocations: 100.8 kB / 1.085 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.659e-05/0.4546, allocations: 24.05 kB / 1.085 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.4548, allocations: 31.97 kB / 1.086 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.517e-05/0.4549, allocations: 43.92 kB / 1.086 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.949e-05/0.4549, allocations: 35.97 kB / 1.086 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.85e-05/0.455, allocations: 104.8 kB / 1.086 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.455, allocations: 0 / 1.086 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004256/0.4554, allocations: 99.98 kB / 1.086 GB, free: 11.09 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.0002565/0.4557, allocations: 150.2 kB / 1.086 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000824/0.4565, allocations: 0.5477 MB / 1.086 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4565, allocations: 0 / 1.086 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003832/0.4569, allocations: 299.8 kB / 1.087 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.4573, allocations: 42.84 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.0008687/0.4582, allocations: 0.4982 MB / 1.087 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.4586, allocations: 0.7335 MB / 1.088 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001006/0.4587, allocations: 30.97 kB / 1.088 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.445e-05/0.4588, allocations: 35.42 kB / 1.088 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.4588, allocations: 0 / 1.088 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of Templates: time 0.007921/0.4667, allocations: 3.897 MB / 1.092 GB, free: 4.812 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe 2>&1)