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.001322/0.001322, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001859/0.001859, allocations: 192.8 kB / 16.25 MB, free: 6.633 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.499/1.499, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.977/2.977, allocations: 472.6 MB / 0.7448 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 64.11 kB / 0.9115 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.4043, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating): time 0.002187/0.4065, allocations: 0.881 MB / 1.069 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001658/0.4082, allocations: 1.342 MB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.616e-05/0.4082, allocations: 4 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.169e-05/0.4083, allocations: 3.938 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.382e-05/0.4084, allocations: 19.84 kB / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007261/0.4091, allocations: 270.7 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003652/0.4095, allocations: 387.4 kB / 1.071 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.4097, allocations: 44.88 kB / 1.071 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.4098, allocations: 151.7 kB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.41, allocations: 139.6 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.344e-05/0.4101, allocations: 40 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.4102, allocations: 47.92 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.152e-05/0.4103, allocations: 67.88 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.4105, allocations: 155.6 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003281/0.4108, allocations: 335.3 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.4108, allocations: 4 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.205e-06/0.4108, allocations: 0 / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.4108, allocations: 4 kB / 1.071 GB, free: 6.949 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.001019/0.4119, allocations: 0.6101 MB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.4119, allocations: 12.03 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.673e-05/0.412, allocations: 28.83 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007624/0.4128, allocations: 300.5 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.091e-05/0.4128, allocations: 24.59 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.104e-05/0.4129, allocations: 40.36 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004493/0.4134, allocations: 267.4 kB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.4134, allocations: 0 / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/0.4134, allocations: 11.98 kB / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.4134, allocations: 4 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002358/0.4137, allocations: 120.6 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009046/0.4146, allocations: 0.6061 MB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005879/0.4152, allocations: 415.6 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002442/0.4154, allocations: 176.8 kB / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.4155, allocations: 0 / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00061/0.4161, allocations: 374.7 kB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=44): time 1.843e-06/0.4161, allocations: 4 kB / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44): time 0.001065/0.4172, allocations: 0.6661 MB / 1.075 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.4172, allocations: 67.39 kB / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.4174, allocations: 147.3 kB / 1.075 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.064e-05/0.4174, allocations: 49.7 kB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.593e-05/0.4175, allocations: 105 kB / 1.075 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.255e-05/0.4176, allocations: 98.8 kB / 1.075 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.4178, allocations: 118.2 kB / 1.076 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.4179, allocations: 346.8 kB / 1.076 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002713/0.4182, allocations: 141.1 kB / 1.076 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003588/0.4186, allocations: 296.1 kB / 1.076 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005658/0.4191, allocations: 458.3 kB / 1.077 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.4191, allocations: 7.984 kB / 1.077 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008688/0.42, allocations: 0.5685 MB / 1.077 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.044e-05/0.4201, allocations: 67.98 kB / 1.077 GB, free: 480 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.4201, allocations: 8 kB / 1.077 GB, free: 472 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.61e-05/0.4201, allocations: 12 kB / 1.077 GB, free: 460 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.4203, allocations: 39.86 kB / 1.077 GB, free: 420 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.528e-05/0.4203, allocations: 15.92 kB / 1.077 GB, free: 404 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004389/0.4208, allocations: 87.62 kB / 1.078 GB, free: 316 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-05/0.4208, allocations: 27.98 kB / 1.078 GB, free: 288 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.0002063/0.421, allocations: 190.8 kB / 1.078 GB, free: 84 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.528e-05/0.4211, allocations: 31.72 kB / 1.078 GB, free: 52 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.571e-05/0.4212, allocations: 26.3 kB / 1.078 GB, free: 28 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.4212, allocations: 4 kB / 1.078 GB, free: 24 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.4212, allocations: 3.938 kB / 1.078 GB, free: 20 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.4212, allocations: 0 / 1.078 GB, free: 20 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/0.4227, allocations: 1.017 MB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.4227, allocations: 0 / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.116e-05/0.4228, allocations: 19.92 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.85e-06/0.4228, allocations: 64 / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.961e-05/0.4228, allocations: 27.91 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.4228, allocations: 0 / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4228, allocations: 0 / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008401/0.4237, allocations: 0.6205 MB / 1.079 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.065e-05/0.4238, allocations: 100.9 kB / 1.08 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.873e-05/0.4238, allocations: 19.98 kB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.424, allocations: 27.95 kB / 1.08 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.4241, allocations: 39.94 kB / 1.08 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-05/0.4242, allocations: 35.97 kB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.715e-05/0.4243, allocations: 112.7 kB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4243, allocations: 0 / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004246/0.4247, allocations: 104 kB / 1.08 GB, free: 13.81 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.0002417/0.425, allocations: 150.2 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008957/0.4259, allocations: 0.5675 MB / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4259, allocations: 0 / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003687/0.4262, allocations: 295.8 kB / 1.081 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.4267, allocations: 52.44 kB / 1.081 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008544/0.4275, allocations: 493.3 kB / 1.081 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.4279, allocations: 0.7371 MB / 1.082 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000102/0.428, allocations: 30.97 kB / 1.082 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.08e-05/0.4281, allocations: 35.42 kB / 1.082 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of SimCode: time 3.61e-07/0.4281, allocations: 0 / 1.082 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of Templates: time 0.007942/0.436, allocations: 4.188 MB / 1.086 GB, free: 7.215 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)