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.001014/0.001014, allocations: 98.72 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 185.4 kB / 16.92 MB, free: 6.895 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.945/1.945, allocations: 205.4 MB / 223.1 MB, free: 5.523 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.863/1.863, allocations: 292.7 MB / 0.5509 GB, free: 14.48 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.0005536/0.0005537, allocations: 12.34 kB / 0.675 GB, free: 25.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3462, allocations: 116.3 MB / 0.7886 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002048/0.3483, allocations: 1.481 MB / 0.79 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.3497, allocations: 0.7887 MB / 0.7908 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.279e-05/0.3498, allocations: 4 kB / 0.7908 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.35, allocations: 15.86 kB / 0.7908 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.826e-05/0.35, allocations: 27.77 kB / 0.7908 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008636/0.3509, allocations: 364 kB / 0.7912 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003772/0.3513, allocations: 395.1 kB / 0.7915 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.3515, allocations: 60.28 kB / 0.7916 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.3516, allocations: 135.6 kB / 0.7917 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.3518, allocations: 127.5 kB / 0.7918 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.791e-05/0.3519, allocations: 16 kB / 0.7919 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.352, allocations: 39.97 kB / 0.7919 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.854e-05/0.352, allocations: 43.83 kB / 0.7919 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.3522, allocations: 177.1 kB / 0.7921 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.3525, allocations: 275.5 kB / 0.7924 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3525, allocations: 0 / 0.7924 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.455e-06/0.3525, allocations: 0 / 0.7924 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.3525, allocations: 0 / 0.7924 GB, free: 7.652 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.0008306/0.3534, allocations: 0.5498 MB / 0.7929 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.3534, allocations: 8.031 kB / 0.7929 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.015e-05/0.3535, allocations: 40.59 kB / 0.793 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007715/0.3543, allocations: 305 kB / 0.7932 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.139e-05/0.3544, allocations: 28.69 kB / 0.7933 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.499e-05/0.3544, allocations: 32.38 kB / 0.7933 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003252/0.3548, allocations: 184.7 kB / 0.7935 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3548, allocations: 3.938 kB / 0.7935 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.3548, allocations: 11.98 kB / 0.7935 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.3548, allocations: 4 kB / 0.7935 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002045/0.355, allocations: 108.2 kB / 0.7936 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009352/0.356, allocations: 0.6014 MB / 0.7942 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/0.3563, allocations: 202.4 kB / 0.7944 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.3564, allocations: 88.75 kB / 0.7945 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.3565, allocations: 4 kB / 0.7945 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004284/0.3569, allocations: 246.9 kB / 0.7947 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 1.803e-06/0.3569, allocations: 3.938 kB / 0.7947 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36): time 0.0007113/0.3576, allocations: 419.6 kB / 0.7951 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.3577, allocations: 63.39 kB / 0.7952 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.3579, allocations: 191 kB / 0.7954 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.476e-05/0.3579, allocations: 49.7 kB / 0.7954 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.3581, allocations: 132.8 kB / 0.7955 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.063e-05/0.3581, allocations: 86.89 kB / 0.7956 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.92e-05/0.3582, allocations: 65.69 kB / 0.7957 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3584, allocations: 334.8 kB / 0.796 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002697/0.3587, allocations: 149 kB / 0.7961 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/0.359, allocations: 275.2 kB / 0.7964 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004991/0.3595, allocations: 423.1 kB / 0.7968 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.3595, allocations: 0 / 0.7968 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008654/0.3604, allocations: 0.5927 MB / 0.7974 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.541e-05/0.3605, allocations: 101 kB / 0.7975 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.3605, allocations: 4 kB / 0.7975 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.3605, allocations: 4 kB / 0.7975 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.3607, allocations: 43.86 kB / 0.7975 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.412e-05/0.3607, allocations: 4 kB / 0.7975 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005287/0.3612, allocations: 135.7 kB / 0.7977 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.202e-05/0.3613, allocations: 31.98 kB / 0.7977 GB, free: 1.805 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.0001959/0.3615, allocations: 179.6 kB / 0.7979 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.3615, allocations: 27.7 kB / 0.7979 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.634e-05/0.3616, allocations: 26.66 kB / 0.7979 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3616, allocations: 4 kB / 0.7979 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.3616, allocations: 4 kB / 0.7979 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3616, allocations: 3.984 kB / 0.7979 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008312/0.3625, allocations: 0.7051 MB / 0.7986 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3625, allocations: 4 kB / 0.7986 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.368e-05/0.3626, allocations: 11.94 kB / 0.7986 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3626, allocations: 0 / 0.7986 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.3626, allocations: 11.98 kB / 0.7986 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.3626, allocations: 4 kB / 0.7986 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3626, allocations: 4 kB / 0.7986 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004793/0.3631, allocations: 426.8 kB / 0.7991 GB, free: 332 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.446e-05/0.3632, allocations: 100.8 kB / 0.7992 GB, free: 212 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.785e-05/0.3632, allocations: 11.98 kB / 0.7992 GB, free: 200 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.455e-05/0.3633, allocations: 4 kB / 0.7992 GB, free: 196 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.236e-05/0.3634, allocations: 27.95 kB / 0.7992 GB, free: 168 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/0.3634, allocations: 19.98 kB / 0.7992 GB, free: 148 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.472e-05/0.3635, allocations: 130.3 kB / 0.7993 GB, free: 20 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3635, allocations: 96 / 0.7993 GB, free: 20 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000382/0.3639, allocations: 111.8 kB / 0.7994 GB, free: 15.91 MB / 0.6231 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.0001806/0.3641, allocations: 125.3 kB / 0.7996 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007319/0.3648, allocations: 0.5457 MB / 0.8001 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.3648, allocations: 0 / 0.8001 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.365, allocations: 139.9 kB / 0.8002 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.3654, allocations: 35.97 kB / 0.8003 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007445/0.3662, allocations: 0.5136 MB / 0.8008 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.3665, allocations: 0.7409 MB / 0.8015 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.437e-05/0.3666, allocations: 27.44 kB / 0.8015 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of SimCode: time 4.71e-07/0.3666, allocations: 4 kB / 0.8015 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of Templates: time 0.006141/0.3727, allocations: 3.668 MB / 0.8051 GB, free: 10.04 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