Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.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.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007717/0.007717, allocations: 100.9 kB / 15.87 MB, free: 5.867 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.001261/0.001261, allocations: 189.5 kB / 16.79 MB, free: 5.809 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.803/1.803, allocations: 205.1 MB / 222.6 MB, free: 4.691 MB / 174.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.919/1.919, allocations: 292.3 MB / 0.5491 GB, free: 13.67 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.001398/0.001399, allocations: 67.73 kB / 0.6715 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3303, allocations: 114.5 MB / 0.7833 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer): time 0.003489/0.3338, allocations: 1.832 MB / 0.7851 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.3353, allocations: 0.7927 MB / 0.7859 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.3354, allocations: 4 kB / 0.7859 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001726/0.3356, allocations: 15.8 kB / 0.7859 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.764e-05/0.3357, allocations: 23.78 kB / 0.786 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009455/0.3367, allocations: 368.6 kB / 0.7863 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003678/0.337, allocations: 387.1 kB / 0.7867 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.3372, allocations: 64.25 kB / 0.7867 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.3374, allocations: 147.6 kB / 0.7869 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.3376, allocations: 139.4 kB / 0.787 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.303e-05/0.3377, allocations: 27.94 kB / 0.787 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.3378, allocations: 39.92 kB / 0.7871 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.892e-05/0.3379, allocations: 51.81 kB / 0.7871 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001961/0.3381, allocations: 155.5 kB / 0.7873 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003342/0.3384, allocations: 271.6 kB / 0.7875 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/0.3384, allocations: 7.984 kB / 0.7875 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3384, allocations: 0 / 0.7875 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.3385, allocations: 0 / 0.7875 GB, free: 9.656 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001037/0.3395, allocations: 0.6161 MB / 0.7881 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.3396, allocations: 11.97 kB / 0.7881 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.3397, allocations: 36.66 kB / 0.7882 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008364/0.3405, allocations: 309 kB / 0.7885 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.059e-05/0.3406, allocations: 28.69 kB / 0.7885 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.33e-05/0.3406, allocations: 32.38 kB / 0.7885 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003254/0.341, allocations: 172.7 kB / 0.7887 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.341, allocations: 3.938 kB / 0.7887 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.341, allocations: 11.98 kB / 0.7887 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.341, allocations: 4 kB / 0.7887 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002084/0.3413, allocations: 115.8 kB / 0.7888 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.3423, allocations: 0.5975 MB / 0.7894 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003225/0.3426, allocations: 198.5 kB / 0.7896 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.3427, allocations: 88.77 kB / 0.7897 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.3428, allocations: 4 kB / 0.7897 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005063/0.3433, allocations: 250.8 kB / 0.7899 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 1.904e-06/0.3433, allocations: 4 kB / 0.7899 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36): time 0.0007355/0.344, allocations: 415.6 kB / 0.7903 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.176e-05/0.3441, allocations: 55.41 kB / 0.7904 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.3443, allocations: 187.1 kB / 0.7906 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.65e-05/0.3444, allocations: 49.7 kB / 0.7906 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.3445, allocations: 136.7 kB / 0.7907 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.582e-05/0.3446, allocations: 86.97 kB / 0.7908 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/0.3448, allocations: 130.1 kB / 0.7909 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.3449, allocations: 342.8 kB / 0.7913 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002939/0.3452, allocations: 153 kB / 0.7914 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003596/0.3456, allocations: 267.3 kB / 0.7917 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005271/0.3461, allocations: 423 kB / 0.7921 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.3461, allocations: 7.938 kB / 0.7921 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009068/0.3471, allocations: 0.5808 MB / 0.7927 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.154e-05/0.3472, allocations: 97.09 kB / 0.7927 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.3472, allocations: 4 kB / 0.7928 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.3472, allocations: 8 kB / 0.7928 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.3474, allocations: 43.86 kB / 0.7928 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/0.3474, allocations: 12.34 kB / 0.7928 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004986/0.3479, allocations: 107.6 kB / 0.7929 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-05/0.348, allocations: 31.98 kB / 0.7929 GB, free: 3.719 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 56 (accuTimer3.yAcc,$PRE.accuTimer3.yAcc,accuTimer2.yAcc,$PRE.accuTimer2.yAcc,accuTimer1.yAcc,$PRE.accuTimer1.yAcc,accuTimer.yAcc,$PRE.accuTimer.yAcc,resetTimer.yAcc,$PRE.resetTimer.yAcc,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,booPul1.y,$PRE.booPul1.y,$whenCondition3,pre.y,$PRE.pre.u,$whenCondition9,con.y,accuTimer2.reset_internal,$PRE.accuTimer2.reset_internal,booPul2.y,$PRE.booPul2.y,accuTimer2.entryTime,$PRE.accuTimer2.entryTime,$whenCondition7,$whenCondition8,accuTimer3.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer.reset_internal,$PRE.accuTimer.reset_internal,resetTimer.reset_internal,$PRE.resetTimer.reset_internal,booPul.y,$PRE.booPul.y,pre.u,accuTimer3.entryTime,$PRE.accuTimer3.entryTime,accuTimer1.entryTime,$PRE.accuTimer1.entryTime,accuTimer.entryTime,$PRE.accuTimer.entryTime,resetTimer.entryTime,$PRE.resetTimer.entryTime,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition6,$whenCondition5,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 3 * 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.0002299/0.3482, allocations: 187.6 kB / 0.7931 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/0.3483, allocations: 23.72 kB / 0.7931 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.094e-05/0.3483, allocations: 22.66 kB / 0.7932 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.3484, allocations: 4 kB / 0.7932 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.3484, allocations: 0 / 0.7932 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.3484, allocations: 3.984 kB / 0.7932 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009211/0.3493, allocations: 0.709 MB / 0.7939 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3493, allocations: 4 kB / 0.7939 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.742e-05/0.3494, allocations: 11.94 kB / 0.7939 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.3494, allocations: 3.984 kB / 0.7939 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.3494, allocations: 11.98 kB / 0.7939 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.3494, allocations: 4 kB / 0.7939 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3494, allocations: 0 / 0.7939 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005291/0.35, allocations: 426.8 kB / 0.7943 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.182e-05/0.3501, allocations: 104.8 kB / 0.7944 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.836e-05/0.3501, allocations: 11.98 kB / 0.7944 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.783e-05/0.3502, allocations: 11.92 kB / 0.7944 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.973e-05/0.3503, allocations: 23.97 kB / 0.7945 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.3504, allocations: 19.98 kB / 0.7945 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001095/0.3505, allocations: 126.3 kB / 0.7946 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3505, allocations: 0 / 0.7946 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000409/0.3509, allocations: 103.8 kB / 0.7947 GB, free: 1.828 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 31 (pre.y,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer3.entryTime,accuTimer3.yAcc,booPul1.y,pre.u,booPul.y,booPul2.y) * Number of discrete states: 6 (pre.u,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0002377/0.3511, allocations: 129.4 kB / 0.7948 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007539/0.3519, allocations: 0.5373 MB / 0.7953 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3519, allocations: 288 / 0.7953 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002163/0.3521, allocations: 143.8 kB / 0.7955 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.3525, allocations: 52.64 kB / 0.7955 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008364/0.3534, allocations: 0.5014 MB / 0.796 GB, free: 404 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.3538, allocations: 0.7409 MB / 0.7967 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.443e-05/0.3538, allocations: 31.42 kB / 0.7968 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.3538, allocations: 0 / 0.7968 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of Templates: time 0.006581/0.3604, allocations: 3.694 MB / 0.8004 GB, free: 11.93 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.makefile make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TimerCalcHelperMain.o OMCppBuildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TimerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TimerCalcHelperMain.o] Error 1