Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_9_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.001415/0.001415, allocations: 100.1 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.002028/0.002028, allocations: 176.6 kB / 16.58 MB, free: 6.422 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.449/1.449, allocations: 223.3 MB / 240.6 MB, free: 5.418 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.514/2.514, allocations: 390.5 MB / 0.6662 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003848/0.000385, allocations: 12 kB / 0.8155 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9313/0.9317, allocations: 142.3 MB / 0.9544 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001096/0.9328, allocations: 0.5462 MB / 0.955 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002292/0.9351, allocations: 1.416 MB / 0.9564 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.9352, allocations: 2.219 kB / 0.9564 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007124/0.936, allocations: 196.8 kB / 0.9565 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.9362, allocations: 103.8 kB / 0.9566 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.9372, allocations: 313.7 kB / 0.9569 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001043/0.9382, allocations: 0.6611 MB / 0.9576 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002652/0.9385, allocations: 79.2 kB / 0.9577 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000472/0.939, allocations: 300.1 kB / 0.958 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004558/0.9395, allocations: 222.6 kB / 0.9582 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.9396, allocations: 15.84 kB / 0.9582 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002892/0.9399, allocations: 84 kB / 0.9583 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004988/0.9404, allocations: 304 kB / 0.9586 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.9405, allocations: 88.95 kB / 0.9586 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008702/0.9414, allocations: 0.6976 MB / 0.9593 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.243e-05/0.9414, allocations: 0 / 0.9593 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.757e-06/0.9415, allocations: 1.375 kB / 0.9593 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.9415, allocations: 0 / 0.9593 GB, free: 4.887 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001522/0.943, allocations: 0.7029 MB / 0.96 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.775e-05/0.9431, allocations: 13.44 kB / 0.96 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002135/0.9433, allocations: 56.48 kB / 0.9601 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009684/0.9443, allocations: 0.5211 MB / 0.9606 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.534e-05/0.9444, allocations: 19.52 kB / 0.9606 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/0.9445, allocations: 40.19 kB / 0.9606 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007077/0.9452, allocations: 302.5 kB / 0.9609 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.9453, allocations: 1.062 kB / 0.9609 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.696e-05/0.9453, allocations: 9.266 kB / 0.9609 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.9453, allocations: 11.3 kB / 0.9609 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004612/0.9458, allocations: 217.7 kB / 0.9612 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002111/0.9479, allocations: 1.19 MB / 0.9623 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007437/0.9487, allocations: 462.1 kB / 0.9628 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.9489, allocations: 183.7 kB / 0.9629 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.949, allocations: 4 kB / 0.9629 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000571/0.9495, allocations: 329.4 kB / 0.9633 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=24): time 1.983e-06/0.9496, allocations: 4 kB / 0.9633 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24): time 0.001294/0.9509, allocations: 0.6287 MB / 0.9639 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.174e-05/0.951, allocations: 113.4 kB / 0.964 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008701/0.9518, allocations: 0.5961 MB / 0.9646 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.146e-05/0.9519, allocations: 47.25 kB / 0.9646 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/0.9521, allocations: 217.9 kB / 0.9648 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.424e-05/0.9522, allocations: 56.75 kB / 0.9649 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.445e-05/0.9522, allocations: 5.281 kB / 0.9649 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.9523, allocations: 362.7 kB / 0.9652 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.9525, allocations: 127.2 kB / 0.9653 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008969/0.9534, allocations: 0.7183 MB / 0.966 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002858/0.9537, allocations: 168.5 kB / 0.9662 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.9538, allocations: 5 kB / 0.9662 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007528/0.9545, allocations: 414.5 kB / 0.9666 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.9545, allocations: 6.188 kB / 0.9666 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.9546, allocations: 3.375 kB / 0.9666 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.551e-05/0.9546, allocations: 5.375 kB / 0.9666 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.9548, allocations: 42.3 kB / 0.9667 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.93e-05/0.9548, allocations: 13.27 kB / 0.9667 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.956, allocations: 136.4 kB / 0.9668 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.82e-05/0.956, allocations: 18.11 kB / 0.9668 GB, free: 15.58 MB / 0.7325 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.0003823/0.9564, allocations: 270 kB / 0.9671 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.833e-05/0.9565, allocations: 42.41 kB / 0.9671 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.533e-05/0.9566, allocations: 50.38 kB / 0.9672 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.9566, allocations: 2.656 kB / 0.9672 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.9566, allocations: 1.375 kB / 0.9672 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.9566, allocations: 5.359 kB / 0.9672 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004935/0.9571, allocations: 405.6 kB / 0.9676 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.9571, allocations: 1.031 kB / 0.9676 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.193e-05/0.9572, allocations: 15.02 kB / 0.9676 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.9572, allocations: 2.906 kB / 0.9676 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.9572, allocations: 3.969 kB / 0.9676 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.9572, allocations: 1.969 kB / 0.9676 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.9572, allocations: 1.125 kB / 0.9676 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007982/0.958, allocations: 0.5245 MB / 0.9681 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.9582, allocations: 133.8 kB / 0.9682 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.162e-05/0.9582, allocations: 6.625 kB / 0.9682 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.9584, allocations: 17.58 kB / 0.9682 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.346e-05/0.9585, allocations: 29.92 kB / 0.9683 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.756e-05/0.9585, allocations: 14.72 kB / 0.9683 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005993/0.9591, allocations: 433.7 kB / 0.9687 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.1e-07/0.9591, allocations: 0 / 0.9687 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005392/0.9597, allocations: 119.1 kB / 0.9688 GB, free: 14.26 MB / 0.7325 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.000293/0.96, allocations: 150.7 kB / 0.969 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006373/0.9606, allocations: 342.3 kB / 0.9693 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.9606, allocations: 3.938 kB / 0.9693 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003433/0.961, allocations: 231.3 kB / 0.9695 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.9613, allocations: 44.58 kB / 0.9696 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.9629, allocations: 0.9232 MB / 0.9705 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005321/0.9634, allocations: 0.8349 MB / 0.9713 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.9636, allocations: 40.11 kB / 0.9713 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of SimCode: time 5.51e-07/0.9636, allocations: 0 / 0.9713 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.01295/0.9765, allocations: 6.905 MB / 0.978 GB, free: 7.457 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile make -j1 -f Buildings_9_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_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableCalcHelperMain.o] Error 1