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.0009086/0.0009088, allocations: 103 kB / 15.71 MB, free: 460 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.0009906/0.0009907, allocations: 174.2 kB / 16.58 MB, free: 6.039 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.834/1.834, allocations: 205.4 MB / 222.8 MB, free: 5.844 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.787/1.787, allocations: 292.7 MB / 0.5505 GB, free: 14.53 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.0006347/0.0006348, allocations: 18.91 kB / 0.6744 GB, free: 26.54 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3133, allocations: 116.3 MB / 0.7879 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001257/0.3146, allocations: 0.5558 MB / 0.7885 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002003/0.3166, allocations: 1.419 MB / 0.7899 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.476e-05/0.3167, allocations: 7.938 kB / 0.7899 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004951/0.3172, allocations: 187.5 kB / 0.7901 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.3174, allocations: 107.7 kB / 0.7902 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008951/0.3183, allocations: 310 kB / 0.7905 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007888/0.3191, allocations: 0.659 MB / 0.7911 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001973/0.3193, allocations: 88.42 kB / 0.7912 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003081/0.3196, allocations: 299.4 kB / 0.7915 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003339/0.3199, allocations: 227.4 kB / 0.7917 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.366e-05/0.32, allocations: 12 kB / 0.7917 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002226/0.3203, allocations: 71.94 kB / 0.7918 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003988/0.3207, allocations: 311.3 kB / 0.7921 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.3208, allocations: 85.52 kB / 0.7921 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006646/0.3215, allocations: 0.694 MB / 0.7928 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.3215, allocations: 4 kB / 0.7928 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3215, allocations: 0 / 0.7928 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.3215, allocations: 0 / 0.7928 GB, free: 6.895 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.001325/0.3228, allocations: 0.7113 MB / 0.7935 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.3229, allocations: 8.031 kB / 0.7935 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.323, allocations: 55.44 kB / 0.7936 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007499/0.3238, allocations: 0.5283 MB / 0.7941 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.937e-05/0.3238, allocations: 24.23 kB / 0.7941 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.38e-05/0.3239, allocations: 36 kB / 0.7942 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004646/0.3244, allocations: 305.6 kB / 0.7944 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3244, allocations: 4 kB / 0.7945 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/0.3245, allocations: 7.984 kB / 0.7945 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.3245, allocations: 7.984 kB / 0.7945 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003293/0.3248, allocations: 215.8 kB / 0.7947 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001825/0.3266, allocations: 1.187 MB / 0.7958 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006177/0.3273, allocations: 471.8 kB / 0.7963 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002352/0.3275, allocations: 182.5 kB / 0.7965 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.3275, allocations: 4 kB / 0.7965 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004726/0.328, allocations: 325.6 kB / 0.7968 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 1.653e-06/0.328, allocations: 0 / 0.7968 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.0009937/0.329, allocations: 0.6299 MB / 0.7974 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.402e-05/0.3291, allocations: 114.8 kB / 0.7975 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007678/0.3299, allocations: 0.5993 MB / 0.7981 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.435e-05/0.33, allocations: 45.69 kB / 0.7981 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002753/0.3303, allocations: 226.6 kB / 0.7983 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.787e-05/0.3303, allocations: 43.44 kB / 0.7984 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.011e-05/0.3304, allocations: 8 kB / 0.7984 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002157/0.3306, allocations: 366.7 kB / 0.7987 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.3308, allocations: 123.8 kB / 0.7989 GB, free: 444 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.3318, allocations: 0.7104 MB / 0.7996 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.3321, allocations: 179.8 kB / 0.7997 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.3321, allocations: 4 kB / 0.7997 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007164/0.3329, allocations: 420.8 kB / 0.8001 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.3329, allocations: 10.97 kB / 0.8001 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.3329, allocations: 4 kB / 0.8001 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.3329, allocations: 4 kB / 0.8001 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.3331, allocations: 35.92 kB / 0.8002 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.806e-05/0.3332, allocations: 7.938 kB / 0.8002 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.3343, allocations: 140 kB / 0.8003 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.703e-05/0.3343, allocations: 16 kB / 0.8003 GB, free: 14.75 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.y[1],booTimTab.y[2],$PRE.booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.idx) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003694/0.3347, allocations: 270.2 kB / 0.8006 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.415e-05/0.3348, allocations: 47.42 kB / 0.8006 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.3349, allocations: 47.38 kB / 0.8007 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.3349, allocations: 4 kB / 0.8007 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.3349, allocations: 4 kB / 0.8007 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.3349, allocations: 3.984 kB / 0.8007 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004543/0.3354, allocations: 393.4 kB / 0.8011 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3354, allocations: 3.953 kB / 0.8011 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.23e-05/0.3354, allocations: 8 kB / 0.8011 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.526e-05/0.3354, allocations: 4 kB / 0.8011 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.3355, allocations: 15.92 kB / 0.8011 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3355, allocations: 256 / 0.8011 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3355, allocations: 0 / 0.8011 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007128/0.3362, allocations: 0.5165 MB / 0.8016 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.3364, allocations: 140.5 kB / 0.8017 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.136e-05/0.3364, allocations: 11.94 kB / 0.8018 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.3366, allocations: 19.98 kB / 0.8018 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.137e-05/0.3367, allocations: 35.89 kB / 0.8018 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.75e-05/0.3367, allocations: 16 kB / 0.8018 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005128/0.3372, allocations: 431 kB / 0.8022 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3372, allocations: 0 / 0.8022 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004585/0.3377, allocations: 115.8 kB / 0.8023 GB, free: 12.59 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002778/0.338, allocations: 145.4 kB / 0.8025 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005763/0.3386, allocations: 351.6 kB / 0.8028 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3386, allocations: 0 / 0.8028 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003214/0.3389, allocations: 223.8 kB / 0.803 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.3393, allocations: 38.7 kB / 0.8031 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.3406, allocations: 0.9269 MB / 0.804 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004763/0.3411, allocations: 0.8386 MB / 0.8048 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.974e-05/0.3412, allocations: 39.42 kB / 0.8048 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of SimCode: time 3.91e-07/0.3412, allocations: 0 / 0.8048 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of Templates: time 0.01056/0.3518, allocations: 6.91 MB / 0.8116 GB, free: 3.184 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++ NOTFOUND -Winvalid-pch -O0 -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/c/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