Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001913/0.001913, 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.002274/0.002274, allocations: 195 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.501/1.501, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.108/3.108, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 63.52 kB / 0.9114 GB, free: 33.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4435/0.4447, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime): time 0.002721/0.4475, allocations: 0.8772 MB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002181/0.4497, allocations: 1.373 MB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.4498, allocations: 4 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.156e-05/0.4499, allocations: 3.938 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.4501, allocations: 23.78 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008495/0.4509, allocations: 262.5 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003699/0.4513, allocations: 343.4 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.4515, allocations: 36.81 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.4517, allocations: 139.7 kB / 1.071 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.4519, allocations: 127.6 kB / 1.071 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.802e-05/0.452, allocations: 24 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.4521, allocations: 39.98 kB / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.311e-05/0.4522, allocations: 55.86 kB / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.4524, allocations: 139.6 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004383/0.4528, allocations: 323.4 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.4528, allocations: 0 / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.744e-06/0.4529, allocations: 0 / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.4529, allocations: 0 / 1.071 GB, free: 7.195 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.001143/0.454, allocations: 0.6085 MB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.075e-05/0.4541, allocations: 11.97 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.4542, allocations: 36.83 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007785/0.455, allocations: 300.5 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.091e-05/0.455, allocations: 28.58 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.185e-05/0.4551, allocations: 40.36 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004477/0.4556, allocations: 255.4 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.4556, allocations: 3.938 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.565e-05/0.4556, allocations: 15.97 kB / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.4557, allocations: 4 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002378/0.4559, allocations: 120.6 kB / 1.073 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00095/0.4569, allocations: 0.61 MB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005998/0.4575, allocations: 411.7 kB / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002866/0.4578, allocations: 192.6 kB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.4578, allocations: 0 / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007178/0.4585, allocations: 354.9 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=44): time 1.563e-06/0.4585, allocations: 0 / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44): time 0.001229/0.4598, allocations: 0.6661 MB / 1.075 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.87e-05/0.4599, allocations: 71.45 kB / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.46, allocations: 147.1 kB / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.134e-05/0.4601, allocations: 53.7 kB / 1.075 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.612e-05/0.4602, allocations: 105 kB / 1.075 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.928e-05/0.4603, allocations: 98.78 kB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001807/0.4605, allocations: 122.2 kB / 1.075 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.4606, allocations: 338.8 kB / 1.076 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002715/0.4609, allocations: 145.1 kB / 1.076 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003866/0.4613, allocations: 300.6 kB / 1.076 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005955/0.4619, allocations: 454.4 kB / 1.076 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.4619, allocations: 4 kB / 1.076 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.000997/0.4629, allocations: 0.5743 MB / 1.077 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.28e-05/0.463, allocations: 59.41 kB / 1.077 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.463, allocations: 7.984 kB / 1.077 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/0.4631, allocations: 8 kB / 1.077 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.4632, allocations: 43.86 kB / 1.077 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.942e-05/0.4633, allocations: 15.88 kB / 1.077 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004863/0.4638, allocations: 92.05 kB / 1.077 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.026e-05/0.4638, allocations: 35.98 kB / 1.077 GB, free: 0.5156 MB / 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.0002544/0.4641, allocations: 182.9 kB / 1.077 GB, free: 332 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.5e-05/0.4642, allocations: 35.64 kB / 1.077 GB, free: 296 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.687e-05/0.4642, allocations: 26.31 kB / 1.078 GB, free: 272 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.4643, allocations: 4 kB / 1.078 GB, free: 268 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.65e-05/0.4643, allocations: 3.938 kB / 1.078 GB, free: 264 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.4643, allocations: 3.984 kB / 1.078 GB, free: 260 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.466, allocations: 1.013 MB / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.466, allocations: 0 / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.227e-05/0.4661, allocations: 23.88 kB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.4661, allocations: 0 / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.301e-05/0.4661, allocations: 23.97 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.4662, allocations: 4.062 kB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.4662, allocations: 3.984 kB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000825/0.467, allocations: 0.6204 MB / 1.079 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.117e-05/0.4671, allocations: 100.8 kB / 1.079 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.582e-05/0.4672, allocations: 19.98 kB / 1.079 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.4674, allocations: 27.97 kB / 1.079 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.4675, allocations: 43.92 kB / 1.079 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.053e-05/0.4675, allocations: 31.97 kB / 1.079 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.084e-05/0.4676, allocations: 109 kB / 1.08 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.71e-07/0.4676, allocations: 0 / 1.08 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004986/0.4681, allocations: 95.98 kB / 1.08 GB, free: 14.05 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.0002743/0.4684, allocations: 158.2 kB / 1.08 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008866/0.4693, allocations: 0.5455 MB / 1.08 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4693, allocations: 1.188 kB / 1.08 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004137/0.4698, allocations: 291.8 kB / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.4702, allocations: 47.89 kB / 1.081 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009129/0.4711, allocations: 0.4947 MB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.4715, allocations: 0.7257 MB / 1.082 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001143/0.4716, allocations: 42.89 kB / 1.082 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.215e-05/0.4717, allocations: 27.44 kB / 1.082 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of SimCode: time 6.91e-07/0.4717, allocations: 0 / 1.082 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of Templates: time 0.01012/0.4818, allocations: 3.946 MB / 1.086 GB, free: 7.75 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe 2>&1)