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.0008374/0.0008374, allocations: 91.22 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.008257/0.008257, allocations: 172.3 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.491/1.491, 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.016/3.016, allocations: 473.4 MB / 0.7469 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003785, allocations: 12.12 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3973, 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.TimerAccumulatingNegativeStartTime): time 0.001021/0.3984, allocations: 0.5266 MB / 1.075 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001908/0.4003, allocations: 1.365 MB / 1.076 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.035e-05/0.4004, allocations: 0 / 1.076 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.18e-05/0.4004, allocations: 11.86 kB / 1.076 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.819e-05/0.4005, allocations: 19.84 kB / 1.076 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006622/0.4012, allocations: 274.4 kB / 1.076 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003348/0.4015, allocations: 335.4 kB / 1.077 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.4017, allocations: 48.84 kB / 1.077 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.4018, allocations: 127.7 kB / 1.077 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.402, allocations: 131.6 kB / 1.077 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.415e-05/0.4021, allocations: 16 kB / 1.077 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.149e-05/0.4022, allocations: 35.98 kB / 1.077 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.287e-05/0.4022, allocations: 47.88 kB / 1.077 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001831/0.4024, allocations: 165.3 kB / 1.077 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003377/0.4028, allocations: 319.3 kB / 1.077 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.4028, allocations: 0 / 1.077 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4028, allocations: 0 / 1.077 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.4028, 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.0008476/0.4036, allocations: 0.5383 MB / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.4037, allocations: 8.031 kB / 1.078 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.946e-05/0.4038, allocations: 36.73 kB / 1.078 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007286/0.4045, allocations: 308.6 kB / 1.078 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.916e-05/0.4046, allocations: 24.59 kB / 1.078 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.04e-05/0.4046, allocations: 44.36 kB / 1.078 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004283/0.4051, allocations: 263.3 kB / 1.079 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.4051, allocations: 0 / 1.079 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.323e-05/0.4051, allocations: 11.97 kB / 1.079 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.4051, allocations: 7.938 kB / 1.079 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002537/0.4054, allocations: 124.6 kB / 1.079 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000914/0.4063, allocations: 0.6101 MB / 1.079 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005861/0.4069, allocations: 407.6 kB / 1.08 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/0.4072, allocations: 180.8 kB / 1.08 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.4072, allocations: 0 / 1.08 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005435/0.4078, allocations: 374.8 kB / 1.08 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=44): time 1.552e-06/0.4078, allocations: 3.938 kB / 1.08 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44): time 0.00101/0.4088, allocations: 0.6622 MB / 1.081 GB, free: 380 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.4088, allocations: 63.39 kB / 1.081 GB, free: 304 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.409, allocations: 151.2 kB / 1.081 GB, free: 144 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.971e-05/0.409, allocations: 53.7 kB / 1.081 GB, free: 84 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.652e-05/0.4091, allocations: 97.12 kB / 1.081 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.301e-05/0.4092, allocations: 106.7 kB / 1.081 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-05/0.4093, allocations: 65.67 kB / 1.081 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002439/0.4096, allocations: 346.8 kB / 1.082 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002569/0.4098, allocations: 141.1 kB / 1.082 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000381/0.4102, allocations: 296.1 kB / 1.082 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005378/0.4108, allocations: 458.4 kB / 1.083 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.4108, allocations: 0 / 1.083 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008615/0.4116, allocations: 0.5668 MB / 1.083 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.603e-05/0.4117, allocations: 71.98 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.4117, allocations: 4 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.4117, allocations: 12 kB / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.4119, allocations: 47.78 kB / 1.083 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.4119, allocations: 11.94 kB / 1.083 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000462/0.4124, allocations: 115.5 kB / 1.083 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.985e-05/0.4124, allocations: 28 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.0001756/0.4126, allocations: 186.9 kB / 1.084 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.4127, allocations: 23.81 kB / 1.084 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.955e-05/0.4127, allocations: 30.3 kB / 1.084 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.4127, allocations: 4 kB / 1.084 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4128, allocations: 3.938 kB / 1.084 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.4128, allocations: 3.984 kB / 1.084 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/0.4142, allocations: 1.017 MB / 1.085 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4142, allocations: 0 / 1.085 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.597e-05/0.4143, allocations: 23.92 kB / 1.085 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.4143, allocations: 3.938 kB / 1.085 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.269e-05/0.4143, allocations: 19.97 kB / 1.085 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4143, allocations: 3.938 kB / 1.085 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4143, allocations: 64 / 1.085 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008011/0.4151, allocations: 0.6243 MB / 1.085 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.485e-05/0.4152, allocations: 100.8 kB / 1.085 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.561e-05/0.4153, allocations: 19.98 kB / 1.085 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.4155, allocations: 39.95 kB / 1.086 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.668e-05/0.4156, allocations: 35.94 kB / 1.086 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.925e-05/0.4156, allocations: 35.97 kB / 1.086 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.923e-05/0.4157, allocations: 106.2 kB / 1.086 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4157, allocations: 0 / 1.086 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004008/0.4161, allocations: 99.97 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.0002629/0.4164, allocations: 158.2 kB / 1.086 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008958/0.4173, allocations: 0.5338 MB / 1.086 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.4173, allocations: 5.188 kB / 1.086 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003713/0.4177, allocations: 295.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.0003589/0.418, allocations: 50.55 kB / 1.087 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007671/0.4188, allocations: 0.4975 MB / 1.087 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.4191, allocations: 0.7296 MB / 1.088 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.333e-05/0.4192, allocations: 34.97 kB / 1.088 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.275e-05/0.4193, allocations: 31.42 kB / 1.088 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.4193, allocations: 0 / 1.088 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of Templates: time 0.007527/0.4268, allocations: 3.902 MB / 1.092 GB, free: 4.824 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)