Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001133, allocations: 100.5 kB / 15.71 MB, free: 452 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.001765/0.001765, allocations: 176.1 kB / 16.58 MB, free: 6.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.515/2.515, allocations: 390.4 MB / 0.6662 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003687, allocations: 15.98 kB / 0.8155 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7963/0.7967, allocations: 142.3 MB / 0.9544 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.0007787/0.7975, allocations: 400.3 kB / 0.9548 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001416/0.799, allocations: 1.306 MB / 0.9561 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.933e-05/0.799, allocations: 1.375 kB / 0.9561 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005089/0.7996, allocations: 192.1 kB / 0.9563 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.7997, allocations: 97.3 kB / 0.9564 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006149/0.8003, allocations: 203.7 kB / 0.9566 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005419/0.8009, allocations: 375.7 kB / 0.9569 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.708e-05/0.8009, allocations: 12.23 kB / 0.9569 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002424/0.8012, allocations: 187.5 kB / 0.9571 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000335/0.8015, allocations: 191.3 kB / 0.9573 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.074e-05/0.8016, allocations: 14.25 kB / 0.9573 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.8018, allocations: 69.69 kB / 0.9574 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003355/0.8022, allocations: 242.6 kB / 0.9576 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.265e-05/0.8022, allocations: 58.11 kB / 0.9577 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004001/0.8027, allocations: 357.7 kB / 0.958 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.8027, allocations: 4 kB / 0.958 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8027, allocations: 0 / 0.958 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.8027, allocations: 0 / 0.958 GB, free: 5.676 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000801/0.8035, allocations: 0.5239 MB / 0.9585 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.8036, allocations: 9.625 kB / 0.9585 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.8037, allocations: 37.45 kB / 0.9586 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005009/0.8042, allocations: 366.7 kB / 0.9589 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.428e-05/0.8042, allocations: 25.58 kB / 0.9589 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.469e-05/0.8043, allocations: 19.38 kB / 0.9589 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/0.8046, allocations: 188.5 kB / 0.9591 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.8046, allocations: 0 / 0.9591 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.8047, allocations: 0.9375 kB / 0.9591 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.8047, allocations: 6.234 kB / 0.9591 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000193/0.8049, allocations: 113.7 kB / 0.9592 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004023/0.8053, allocations: 386.7 kB / 0.9596 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004317/0.8057, allocations: 315.8 kB / 0.9599 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.8059, allocations: 125.9 kB / 0.96 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.8059, allocations: 1.375 kB / 0.96 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004334/0.8064, allocations: 284.1 kB / 0.9603 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/0.8064, allocations: 0 / 0.9603 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0008602/0.8072, allocations: 0.498 MB / 0.9608 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.8073, allocations: 116.7 kB / 0.9609 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004607/0.8078, allocations: 396.3 kB / 0.9613 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.039e-05/0.8078, allocations: 43.97 kB / 0.9613 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.808, allocations: 148 kB / 0.9615 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/0.808, allocations: 41.94 kB / 0.9615 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.177e-05/0.808, allocations: 9.25 kB / 0.9615 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.798e-05/0.8081, allocations: 349.9 kB / 0.9618 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.8082, allocations: 84.98 kB / 0.9619 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004334/0.8087, allocations: 464.8 kB / 0.9624 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.8089, allocations: 130.9 kB / 0.9625 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.8089, allocations: 1.094 kB / 0.9625 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004597/0.8093, allocations: 327.2 kB / 0.9628 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.8094, allocations: 7.406 kB / 0.9628 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.8094, allocations: 4.844 kB / 0.9628 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.8094, allocations: 9.656 kB / 0.9628 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.8096, allocations: 31.83 kB / 0.9629 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/0.8096, allocations: 13.59 kB / 0.9629 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006409/0.8102, allocations: 73.69 kB / 0.9629 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.8103, allocations: 14.59 kB / 0.963 GB, free: 2.023 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.tabOneRow.y[1],tabOneRow.y[1],$PRE.tabOneRow.idx,tabOneRow.idx,$whenCondition10,$PRE.intTimTab1.y[1],intTimTab1.y[1],$PRE.intTimTab1.y[2],intTimTab1.y[2],$PRE.intTimTab1.idx,intTimTab1.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$PRE.intTimTab.y[1],intTimTab.y[1],$PRE.intTimTab.y[2],intTimTab.y[2],$PRE.intTimTab.idx,intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002037/0.8105, allocations: 194.8 kB / 0.9631 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.597e-05/0.8105, allocations: 35.34 kB / 0.9632 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.278e-05/0.8106, allocations: 30.73 kB / 0.9632 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.8106, allocations: 3.562 kB / 0.9632 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.8106, allocations: 3.938 kB / 0.9632 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.8106, allocations: 7.453 kB / 0.9632 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/0.8109, allocations: 283.4 kB / 0.9635 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.8109, allocations: 0 / 0.9635 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.499e-05/0.8109, allocations: 9.594 kB / 0.9635 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.8109, allocations: 7.953 kB / 0.9635 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.8109, allocations: 3.781 kB / 0.9635 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.8109, allocations: 0 / 0.9635 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.8109, allocations: 2.219 kB / 0.9635 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000592/0.8115, allocations: 429.5 kB / 0.9639 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.351e-05/0.8116, allocations: 120.7 kB / 0.964 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.172e-05/0.8117, allocations: 10.02 kB / 0.964 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.239e-05/0.8118, allocations: 6.281 kB / 0.9641 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/0.8118, allocations: 18.77 kB / 0.9641 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/0.8119, allocations: 14.14 kB / 0.9641 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003087/0.8122, allocations: 290.4 kB / 0.9644 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8122, allocations: 0 / 0.9644 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004246/0.8126, allocations: 79.55 kB / 0.9644 GB, free: 0.9922 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002249/0.8128, allocations: 143.2 kB / 0.9646 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004521/0.8133, allocations: 255.8 kB / 0.9648 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.8133, allocations: 1.25 kB / 0.9648 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000263/0.8136, allocations: 169 kB / 0.965 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.8139, allocations: 29.25 kB / 0.965 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009739/0.8149, allocations: 0.6317 MB / 0.9656 GB, free: 296 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.8152, allocations: 0.7692 MB / 0.9664 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.224e-05/0.8153, allocations: 31.05 kB / 0.9664 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.8153, allocations: 1.031 kB / 0.9664 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of Templates: time 0.008023/0.8233, allocations: 4.28 MB / 0.9706 GB, free: 13.39 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.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_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableCalcHelperMain.o] Error 1