Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_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_8_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.001469/0.001469, allocations: 103.8 kB / 16.36 MB, free: 6.305 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.001483/0.001483, allocations: 192.1 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.315/1.315, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.849/1.849, allocations: 292.3 MB / 0.5496 GB, free: 17.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 67.91 kB / 0.6729 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.231, allocations: 114.6 MB / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating): time 0.002286/0.2333, allocations: 0.8447 MB / 0.7856 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001954/0.2353, allocations: 1.347 MB / 0.7869 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.2354, allocations: 0 / 0.7869 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.012e-05/0.2355, allocations: 7.875 kB / 0.7869 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.2357, allocations: 27.72 kB / 0.787 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000958/0.2366, allocations: 295.2 kB / 0.7873 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004807/0.2371, allocations: 395.4 kB / 0.7876 GB, free: 224 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.2373, allocations: 25.11 kB / 0.7877 GB, free: 200 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002486/0.2375, allocations: 159.7 kB / 0.7878 GB, free: 40 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4871/0.7246, allocations: 144.4 kB / 0.7879 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.7249, allocations: 37.56 kB / 0.788 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002062/0.7251, allocations: 51.86 kB / 0.788 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.143e-05/0.7252, allocations: 65.17 kB / 0.7881 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002353/0.7254, allocations: 149.8 kB / 0.7882 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004878/0.7259, allocations: 333.4 kB / 0.7885 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.7259, allocations: 6.688 kB / 0.7886 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.696e-06/0.726, allocations: 0 / 0.7886 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.746e-05/0.726, allocations: 0 / 0.7886 GB, free: 46.87 MB / 0.6544 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.001281/0.7273, allocations: 0.607 MB / 0.7891 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.7273, allocations: 10.56 kB / 0.7892 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.7275, allocations: 30.75 kB / 0.7892 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.7285, allocations: 297.6 kB / 0.7895 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.759e-05/0.7286, allocations: 25.89 kB / 0.7895 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.7287, allocations: 40.55 kB / 0.7895 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006732/0.7294, allocations: 261.6 kB / 0.7898 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.7295, allocations: 0 / 0.7898 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.574e-05/0.7295, allocations: 14.95 kB / 0.7898 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.7295, allocations: 2.656 kB / 0.7898 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003677/0.7299, allocations: 131.2 kB / 0.7899 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.7313, allocations: 0.6054 MB / 0.7905 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008896/0.7322, allocations: 412.5 kB / 0.7909 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004054/0.7326, allocations: 179.1 kB / 0.7911 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.7327, allocations: 5.312 kB / 0.7911 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008978/0.7336, allocations: 363.4 kB / 0.7914 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=44): time 3.577e-06/0.7336, allocations: 0 / 0.7914 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=44): time 0.001768/0.7354, allocations: 0.6578 MB / 0.7921 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/0.7355, allocations: 65.98 kB / 0.7921 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.7356, allocations: 151.8 kB / 0.7923 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.994e-05/0.7358, allocations: 55.02 kB / 0.7923 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.141e-05/0.7359, allocations: 108.5 kB / 0.7924 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.736, allocations: 95.31 kB / 0.7925 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002583/0.7363, allocations: 122.3 kB / 0.7926 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.7364, allocations: 340 kB / 0.793 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004618/0.7369, allocations: 148.8 kB / 0.7931 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005489/0.7374, allocations: 290.4 kB / 0.7934 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008424/0.7383, allocations: 462.3 kB / 0.7938 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.7383, allocations: 3.5 kB / 0.7938 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001468/0.7398, allocations: 0.5683 MB / 0.7944 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.204e-05/0.7399, allocations: 65.62 kB / 0.7945 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.7399, allocations: 6.938 kB / 0.7945 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.236e-05/0.74, allocations: 14.5 kB / 0.7945 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002651/0.7402, allocations: 43.48 kB / 0.7945 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.654e-05/0.7403, allocations: 16.94 kB / 0.7945 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008237/0.7411, allocations: 102.2 kB / 0.7946 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.959e-05/0.7412, allocations: 27.31 kB / 0.7947 GB, free: 44.41 MB / 0.6544 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.0002716/0.7415, allocations: 175.5 kB / 0.7948 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.983e-05/0.7416, allocations: 34.48 kB / 0.7949 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.703e-05/0.7417, allocations: 26.5 kB / 0.7949 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.7417, allocations: 5.25 kB / 0.7949 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.7418, allocations: 3.938 kB / 0.7949 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.7418, allocations: 3.234 kB / 0.7949 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/0.7441, allocations: 1.017 MB / 0.7959 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.7441, allocations: 0 / 0.7959 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.7442, allocations: 16.69 kB / 0.7959 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.7442, allocations: 3.469 kB / 0.7959 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.146e-05/0.7443, allocations: 19.98 kB / 0.7959 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.7443, allocations: 0 / 0.7959 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.7443, allocations: 0 / 0.7959 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.7456, allocations: 0.6239 MB / 0.7965 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.195e-05/0.7456, allocations: 103 kB / 0.7966 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.7458, allocations: 20.08 kB / 0.7966 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003591/0.7461, allocations: 27.97 kB / 0.7967 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.7463, allocations: 41.59 kB / 0.7967 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-05/0.7464, allocations: 35.47 kB / 0.7967 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001027/0.7465, allocations: 103 kB / 0.7968 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.2e-07/0.7465, allocations: 0 / 0.7968 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009113/0.7475, allocations: 105.5 kB / 0.7969 GB, free: 43.61 MB / 0.6544 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.0004342/0.7479, allocations: 147.8 kB / 0.7971 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001555/0.7495, allocations: 0.5411 MB / 0.7976 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.7495, allocations: 4.188 kB / 0.7976 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006418/0.7502, allocations: 305.9 kB / 0.7979 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000622/0.7508, allocations: 47.67 kB / 0.798 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.7522, allocations: 481.3 kB / 0.7984 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.7525, allocations: 0.7318 MB / 0.7991 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.7526, allocations: 32.64 kB / 0.7992 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of SimCode: time 1.062e-06/0.7526, allocations: 0 / 0.7992 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of Templates: time 0.01194/0.7646, allocations: 3.501 MB / 0.8026 GB, free: 42.24 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1)