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.001415/0.001415, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001956/0.001956, allocations: 194.8 kB / 16.14 MB, free: 6.668 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.595/1.595, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.103/3.103, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 64.38 kB / 0.9114 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4333/0.4346, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime): time 0.002299/0.437, allocations: 0.8772 MB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00192/0.4389, allocations: 1.377 MB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.791e-05/0.439, allocations: 0 / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.44e-05/0.4391, allocations: 7.938 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.4392, allocations: 19.83 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008277/0.4401, allocations: 265.9 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003123/0.4404, allocations: 347.4 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.4406, allocations: 36.88 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.4407, allocations: 135.7 kB / 1.071 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.4409, allocations: 127.6 kB / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.922e-05/0.4409, allocations: 20 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.687e-05/0.441, allocations: 39.98 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.765e-05/0.4411, allocations: 67.78 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.4413, allocations: 135.6 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003433/0.4416, allocations: 327.3 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.4417, allocations: 0 / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.72e-07/0.4417, allocations: 0 / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.4417, allocations: 3.938 kB / 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.001069/0.4428, allocations: 0.6085 MB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.4428, allocations: 8.031 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.4429, allocations: 28.83 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007794/0.4437, allocations: 304.5 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.85e-05/0.4437, allocations: 24.58 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.651e-05/0.4438, allocations: 44.36 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004318/0.4443, allocations: 251.4 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.4443, allocations: 0 / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.4443, allocations: 15.97 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.4443, allocations: 4 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002397/0.4446, allocations: 124.6 kB / 1.073 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009258/0.4455, allocations: 0.6061 MB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006524/0.4462, allocations: 419.6 kB / 1.074 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002598/0.4464, allocations: 176.8 kB / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.4465, allocations: 7.938 kB / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005614/0.447, allocations: 362.9 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=44): time 1.833e-06/0.447, allocations: 0 / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44): time 0.001075/0.4481, allocations: 0.6583 MB / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.4482, allocations: 67.39 kB / 1.075 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.4483, allocations: 147.1 kB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.923e-05/0.4484, allocations: 53.7 kB / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.691e-05/0.4485, allocations: 109 kB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.553e-05/0.4486, allocations: 98.78 kB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.4487, allocations: 122.2 kB / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.4488, allocations: 338.8 kB / 1.076 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/0.4491, allocations: 141.1 kB / 1.076 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003808/0.4495, allocations: 304.6 kB / 1.076 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005755/0.4501, allocations: 458.3 kB / 1.076 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.4501, allocations: 0 / 1.076 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009007/0.451, allocations: 0.5765 MB / 1.077 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.986e-05/0.4511, allocations: 67.41 kB / 1.077 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.4511, allocations: 7.984 kB / 1.077 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.4511, allocations: 8 kB / 1.077 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.4513, allocations: 43.86 kB / 1.077 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/0.4513, allocations: 7.938 kB / 1.077 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004536/0.4518, allocations: 95.95 kB / 1.077 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.379e-05/0.4518, allocations: 39.92 kB / 1.077 GB, free: 484 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.0002102/0.4521, allocations: 182.8 kB / 1.077 GB, free: 288 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.789e-05/0.4521, allocations: 35.7 kB / 1.077 GB, free: 252 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.132e-05/0.4522, allocations: 26.31 kB / 1.078 GB, free: 228 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.4522, allocations: 4 kB / 1.078 GB, free: 224 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.4522, allocations: 3.938 kB / 1.078 GB, free: 220 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.4522, allocations: 3.984 kB / 1.078 GB, free: 216 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.4537, allocations: 1.017 MB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4537, allocations: 0 / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.372e-05/0.4538, allocations: 12 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.4538, allocations: 7.938 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/0.4539, allocations: 19.97 kB / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.4539, allocations: 7.938 kB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4539, allocations: 0 / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007677/0.4547, allocations: 0.6165 MB / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/0.4547, allocations: 96.84 kB / 1.079 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.624e-05/0.4548, allocations: 23.98 kB / 1.079 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.455, allocations: 27.97 kB / 1.079 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.456e-05/0.4551, allocations: 39.92 kB / 1.079 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.095e-05/0.4551, allocations: 35.97 kB / 1.079 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.263e-05/0.4552, allocations: 108.4 kB / 1.079 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4552, allocations: 0 / 1.079 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003993/0.4556, allocations: 95.98 kB / 1.08 GB, free: 14.02 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.0002339/0.4559, allocations: 162.2 kB / 1.08 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007624/0.4566, allocations: 0.5473 MB / 1.08 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4566, allocations: 1.188 kB / 1.08 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003493/0.457, allocations: 295.8 kB / 1.081 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.4574, allocations: 47.89 kB / 1.081 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009078/0.4583, allocations: 498.6 kB / 1.081 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.4586, allocations: 0.7295 MB / 1.082 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001026/0.4588, allocations: 38.95 kB / 1.082 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.639e-05/0.4588, allocations: 27.44 kB / 1.082 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of SimCode: time 2.11e-07/0.4588, allocations: 0 / 1.082 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of Templates: time 0.008888/0.4677, allocations: 3.944 MB / 1.086 GB, free: 7.695 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)