Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.368/2.368, allocations: 391.2 MB / 407 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 189.3 kB / 499.1 MB, free: 4.68 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.674/1.674, allocations: 222.9 MB / 0.7948 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009864/0.0009861, allocations: 103.8 kB / 0.9329 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001041, allocations: 54.34 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3031, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime): time 0.002271/0.3054, allocations: 0.884 MB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002363/0.3078, allocations: 1.367 MB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.965e-05/0.3079, allocations: 4 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 6.613e-05/0.308, allocations: 11.86 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001319/0.3082, allocations: 15.84 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.3093, allocations: 274.5 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003837/0.3097, allocations: 351.4 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.3099, allocations: 25.11 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.3101, allocations: 135.8 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002022/0.3103, allocations: 135.5 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 6.593e-05/0.3104, allocations: 24 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.3105, allocations: 39.97 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 6.316e-05/0.3106, allocations: 55.86 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001973/0.3108, allocations: 135.6 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003949/0.3112, allocations: 321.2 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.3112, allocations: 0 / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3112, allocations: 4 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.3112, allocations: 0 / 1.222 GB, free: 113.5 MB / 0.823 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.001196/0.3124, allocations: 0.6046 MB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.3125, allocations: 15.98 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.3126, allocations: 24.84 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009669/0.3136, allocations: 300.5 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.884e-05/0.3137, allocations: 28.53 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.773e-05/0.3138, allocations: 44.34 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005644/0.3144, allocations: 258.2 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.3144, allocations: 0 / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.409e-05/0.3144, allocations: 11.98 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.3145, allocations: 8 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003231/0.3148, allocations: 120.6 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.3159, allocations: 0.6132 MB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007126/0.3167, allocations: 419.6 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003257/0.317, allocations: 176.8 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.317, allocations: 0 / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006937/0.3178, allocations: 362.8 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=44): time 2.455e-06/0.3178, allocations: 0 / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=44): time 0.001411/0.3192, allocations: 0.6661 MB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.3192, allocations: 67.39 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.3194, allocations: 148.1 kB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.911e-05/0.3195, allocations: 53.69 kB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.763e-05/0.3196, allocations: 116.9 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.509e-05/0.3197, allocations: 94.84 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.3199, allocations: 122.1 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.365e-05/0.32, allocations: 346.7 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003521/0.3203, allocations: 141.1 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000453/0.3208, allocations: 296.1 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00066/0.3215, allocations: 461 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.3215, allocations: 0 / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001145/0.3227, allocations: 0.5684 MB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.773e-05/0.3227, allocations: 71.33 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.3228, allocations: 8 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.3228, allocations: 8.062 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.323, allocations: 47.84 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.764e-05/0.323, allocations: 15.88 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006324/0.3237, allocations: 100 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.761e-05/0.3238, allocations: 27.98 kB / 1.228 GB, free: 106.8 MB / 0.823 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.0001973/0.324, allocations: 182.9 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.818e-05/0.324, allocations: 35.7 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.158e-05/0.3241, allocations: 22.31 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.3241, allocations: 4 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.3242, allocations: 3.938 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.3242, allocations: 7.984 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/0.326, allocations: 1.001 MB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.326, allocations: 0 / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.1e-05/0.3261, allocations: 23.92 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.3261, allocations: 0 / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.528e-05/0.3262, allocations: 19.97 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.3262, allocations: 0 / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3262, allocations: 0 / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.3278, allocations: 1.369 MB / 1.23 GB, free: 104 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.211e-05/0.3278, allocations: 96.86 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.904e-05/0.3279, allocations: 27.97 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002727/0.3282, allocations: 23.97 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.3283, allocations: 39.92 kB / 1.231 GB, free: 103.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.284e-05/0.3284, allocations: 39.91 kB / 1.231 GB, free: 103.8 MB / 0.823 GB Notification: Performance of sorting global known variables: time 6.375e-05/0.3285, allocations: 104 kB / 1.231 GB, free: 103.7 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3285, allocations: 0 / 1.231 GB, free: 103.7 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0008611/0.3294, allocations: 95.98 kB / 1.231 GB, free: 103.6 MB / 0.823 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.0002702/0.3297, allocations: 150.6 kB / 1.231 GB, free: 103.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0009861/0.3306, allocations: 0.5383 MB / 1.232 GB, free: 102.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3307, allocations: 8.188 kB / 1.232 GB, free: 102.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004488/0.3311, allocations: 295.8 kB / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005394/0.3317, allocations: 43.89 kB / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.3329, allocations: 0.7251 MB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.3331, allocations: 0.7452 MB / 1.233 GB, free: 101 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001467/0.3332, allocations: 34.97 kB / 1.233 GB, free: 101 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.3333, allocations: 35.42 kB / 1.233 GB, free: 100.9 MB / 0.823 GB Notification: Performance of SimCode: time 3e-07/0.3334, allocations: 0 / 1.233 GB, free: 100.9 MB / 0.823 GB Notification: Performance of Templates: time 0.01035/0.3437, allocations: 4.199 MB / 1.238 GB, free: 96.77 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe 2>&1)