Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.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.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.269/2.269, allocations: 391.2 MB / 407 MB, free: 10.86 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.001263/0.001263, allocations: 198.8 kB / 499.1 MB, free: 4.695 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.485/1.485, allocations: 222.9 MB / 0.7948 GB, free: 15.82 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.001011/0.001011, allocations: 106.9 kB / 0.9329 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001098, allocations: 55.28 kB / 1.081 GB, free: 217.9 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3108, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating): time 0.002065/0.3129, allocations: 0.8776 MB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.3144, allocations: 1.371 MB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.205e-05/0.3145, allocations: 3.938 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.304e-05/0.3145, allocations: 3.938 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.556e-05/0.3146, allocations: 19.84 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006102/0.3153, allocations: 270.3 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002157/0.3155, allocations: 351.4 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.3156, allocations: 37.05 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.3157, allocations: 135.8 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.3159, allocations: 135.6 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 4.5e-05/0.3159, allocations: 20 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.914e-05/0.316, allocations: 31.98 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 4.471e-05/0.3161, allocations: 55.86 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.3162, allocations: 143.6 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.3165, allocations: 317.2 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3165, allocations: 0 / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 7.82e-07/0.3165, allocations: 4 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.3165, 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.0008644/0.3174, allocations: 0.6124 MB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.3174, allocations: 11.98 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9e-05/0.3175, allocations: 28.83 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006631/0.3182, allocations: 292.5 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.56e-05/0.3182, allocations: 28.58 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.874e-05/0.3183, allocations: 36.36 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003567/0.3187, allocations: 270.2 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.3187, allocations: 0 / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.919e-05/0.3187, allocations: 11.97 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.3187, allocations: 4 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/0.3189, allocations: 124.6 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007466/0.3197, allocations: 0.6093 MB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004454/0.3201, allocations: 419.6 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.3204, allocations: 176.8 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.3204, allocations: 8 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005028/0.3209, allocations: 354.8 kB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=44): time 1.693e-06/0.3209, allocations: 0 / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=44): time 0.0008655/0.3218, allocations: 0.6738 MB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.3218, allocations: 63.39 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.173e-05/0.3219, allocations: 147.1 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.443e-05/0.322, allocations: 53.7 kB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.34e-05/0.322, allocations: 109 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 6.643e-05/0.3221, allocations: 98.84 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.3223, allocations: 122.1 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.291e-05/0.3223, allocations: 342.8 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.3226, allocations: 145.1 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002715/0.3228, allocations: 300 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004009/0.3232, allocations: 457 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.3233, allocations: 0 / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006911/0.3239, allocations: 0.5763 MB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.157e-05/0.324, allocations: 68.48 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.324, allocations: 4 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.324, allocations: 8.594 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.3242, allocations: 47.8 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.3242, allocations: 11.94 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000415/0.3246, allocations: 99.55 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-05/0.3247, allocations: 31.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.0001384/0.3248, allocations: 182.9 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.3249, allocations: 31.77 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.187e-05/0.3249, allocations: 22.31 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.3249, allocations: 8 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.3249, allocations: 3.938 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3249, allocations: 3.984 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.3261, allocations: 1.013 MB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3261, allocations: 0 / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.353e-05/0.3261, allocations: 15.94 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3261, allocations: 0 / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/0.3262, allocations: 19.97 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3262, allocations: 0 / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3262, allocations: 4 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.3272, allocations: 1.369 MB / 1.23 GB, free: 104 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.989e-05/0.3273, allocations: 96.86 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.51e-05/0.3273, allocations: 19.98 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.3275, allocations: 31.95 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.209e-05/0.3276, allocations: 43.88 kB / 1.231 GB, free: 103.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.56e-05/0.3276, allocations: 39.91 kB / 1.231 GB, free: 103.8 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.21e-05/0.3277, allocations: 100.2 kB / 1.231 GB, free: 103.7 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3277, allocations: 0 / 1.231 GB, free: 103.7 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004658/0.3281, allocations: 104 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.0002041/0.3284, allocations: 147.1 kB / 1.231 GB, free: 103.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005948/0.329, allocations: 0.5418 MB / 1.232 GB, free: 102.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.329, allocations: 0 / 1.232 GB, free: 102.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002639/0.3292, 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.0003407/0.3296, allocations: 46.98 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.000805/0.3304, allocations: 0.7298 MB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.3306, allocations: 0.7412 MB / 1.233 GB, free: 101 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 8.94e-05/0.3307, allocations: 38.95 kB / 1.233 GB, free: 101 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.368e-05/0.3307, allocations: 27.44 kB / 1.233 GB, free: 100.9 MB / 0.823 GB Notification: Performance of SimCode: time 2.41e-07/0.3307, allocations: 0 / 1.233 GB, free: 100.9 MB / 0.823 GB Notification: Performance of Templates: time 0.006375/0.3371, allocations: 4.206 MB / 1.238 GB, free: 96.75 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1)