Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.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.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 96.14 kB / 15.87 MB, free: 16 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.00151/0.00151, allocations: 196.2 kB / 16.79 MB, free: 6.828 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.973/1.973, allocations: 205.1 MB / 222.6 MB, free: 4.789 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.951/1.951, allocations: 292.3 MB / 0.5491 GB, free: 13.65 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.001396/0.001396, allocations: 68.83 kB / 0.6715 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3166, allocations: 114.5 MB / 0.7833 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.003251/0.3199, allocations: 0.9217 MB / 0.7842 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002763/0.3227, allocations: 1.454 MB / 0.7857 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001736/0.3229, allocations: 3.938 kB / 0.7857 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000668/0.3236, allocations: 191.5 kB / 0.7859 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.3239, allocations: 107.7 kB / 0.786 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.3252, allocations: 326.2 kB / 0.7863 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001141/0.3263, allocations: 0.7683 MB / 0.787 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002563/0.3266, allocations: 96.19 kB / 0.7871 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006967/0.3273, allocations: 303.3 kB / 0.7874 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006012/0.3279, allocations: 251.4 kB / 0.7876 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002676/0.3282, allocations: 20 kB / 0.7877 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003947/0.3286, allocations: 79.94 kB / 0.7877 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005585/0.3291, allocations: 315.2 kB / 0.788 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005349/0.3297, allocations: 234.8 kB / 0.7883 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009222/0.3306, allocations: 0.7136 MB / 0.789 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3306, allocations: 0 / 0.789 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3307, allocations: 0 / 0.789 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.862e-05/0.3307, allocations: 0 / 0.789 GB, free: 8.238 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.00246/0.3332, allocations: 0.8958 MB / 0.7898 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.3332, allocations: 8.031 kB / 0.7898 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003411/0.3336, allocations: 52.38 kB / 0.7899 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.3346, allocations: 0.537 MB / 0.7904 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.56e-05/0.3347, allocations: 24.61 kB / 0.7904 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.3348, allocations: 36.36 kB / 0.7905 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005655/0.3354, allocations: 307.4 kB / 0.7908 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.3354, allocations: 8.125 kB / 0.7908 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.378e-05/0.3355, allocations: 11.94 kB / 0.7908 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.3355, allocations: 11.92 kB / 0.7908 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003846/0.3359, allocations: 215.9 kB / 0.791 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002416/0.3383, allocations: 1.184 MB / 0.7922 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007224/0.339, allocations: 467.7 kB / 0.7926 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/0.3393, allocations: 178.6 kB / 0.7928 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.3393, allocations: 0 / 0.7928 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005663/0.3399, allocations: 344.2 kB / 0.7931 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 2.444e-06/0.3399, allocations: 0 / 0.7931 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.001251/0.3412, allocations: 0.6221 MB / 0.7937 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.623e-05/0.3413, allocations: 122.7 kB / 0.7938 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009023/0.3422, allocations: 0.5992 MB / 0.7944 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001196/0.3423, allocations: 41.7 kB / 0.7944 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002774/0.3426, allocations: 218.4 kB / 0.7947 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.784e-05/0.3427, allocations: 51.41 kB / 0.7947 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003107/0.343, allocations: 189.5 kB / 0.7949 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000198/0.3432, allocations: 358.8 kB / 0.7952 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.3434, allocations: 131.9 kB / 0.7954 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.3444, allocations: 0.7181 MB / 0.7961 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003844/0.3448, allocations: 296.6 kB / 0.7963 GB, free: 172 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.3448, allocations: 0 / 0.7963 GB, free: 172 kB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007925/0.3456, allocations: 424.7 kB / 0.7967 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.3457, allocations: 8.75 kB / 0.7968 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.3457, allocations: 0 / 0.7968 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/0.3457, allocations: 15.92 kB / 0.7968 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.3459, allocations: 27.92 kB / 0.7968 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.607e-05/0.3459, allocations: 12.31 kB / 0.7968 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.3472, allocations: 127.9 kB / 0.7969 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.164e-05/0.3473, allocations: 15.94 kB / 0.7969 GB, free: 15.54 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * 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.00037/0.3476, allocations: 270.2 kB / 0.7972 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.055e-05/0.3477, allocations: 43.44 kB / 0.7972 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.487e-05/0.3478, allocations: 55.3 kB / 0.7973 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.3479, allocations: 4 kB / 0.7973 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.3479, allocations: 0 / 0.7973 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.3479, allocations: 4 kB / 0.7973 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004552/0.3483, allocations: 401.3 kB / 0.7977 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3484, allocations: 0 / 0.7977 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.909e-05/0.3484, allocations: 11.94 kB / 0.7977 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.3484, allocations: 4 kB / 0.7977 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.3484, allocations: 15.92 kB / 0.7977 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.3484, allocations: 4 kB / 0.7977 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3485, allocations: 0 / 0.7977 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007092/0.3492, allocations: 0.5097 MB / 0.7982 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.3493, allocations: 128.6 kB / 0.7983 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.417e-05/0.3494, allocations: 15.94 kB / 0.7984 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.3495, allocations: 15.98 kB / 0.7984 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.042e-05/0.3496, allocations: 23.97 kB / 0.7984 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.363e-05/0.3497, allocations: 19.98 kB / 0.7984 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005324/0.3502, allocations: 431.1 kB / 0.7988 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3502, allocations: 0 / 0.7988 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005383/0.3508, allocations: 111.9 kB / 0.7989 GB, free: 13.4 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0002987/0.3511, allocations: 149.4 kB / 0.7991 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006272/0.3517, allocations: 347.6 kB / 0.7994 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3517, allocations: 0 / 0.7994 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003417/0.3521, allocations: 223.8 kB / 0.7996 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.3524, allocations: 34.66 kB / 0.7997 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.3539, allocations: 0.9635 MB / 0.8006 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005358/0.3545, allocations: 0.8386 MB / 0.8014 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.3546, allocations: 43.42 kB / 0.8015 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of SimCode: time 5.91e-07/0.3546, allocations: 0 / 0.8015 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of Templates: time 0.01505/0.3697, allocations: 6.955 MB / 0.8082 GB, free: 3.945 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.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.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableCalcHelperMain.o] Error 1