Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndInt.u.1.|extIndInt.u.2.|extIndInt.u.3.|extIndInt.u.4.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndInt.u.1.|extIndInt.u.2.|extIndInt.u.3.|extIndInt.u.4.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001048, 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.001604/0.001604, allocations: 175.3 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.451/1.451, allocations: 223.2 MB / 240.6 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.818/2.818, allocations: 436.7 MB / 0.7113 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003506, allocations: 8 kB / 0.8717 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7364/0.7367, allocations: 153.7 MB / 1.022 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.001394/0.7382, allocations: 0.8152 MB / 1.023 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001947/0.7402, allocations: 1.483 MB / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.039e-05/0.7403, allocations: 4 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.7404, allocations: 23.67 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.7405, allocations: 43.69 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.7415, allocations: 410.7 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004608/0.742, allocations: 479.6 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002551/0.7423, allocations: 123 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.7425, allocations: 171.4 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.7427, allocations: 147.4 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.007e-05/0.7427, allocations: 23.94 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.7428, allocations: 31.98 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.018e-05/0.7429, allocations: 59.77 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.972e-05/0.743, allocations: 85.52 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004404/0.7435, allocations: 460.8 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.7435, allocations: 0 / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.086e-06/0.7435, allocations: 0 / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.7435, allocations: 0 / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0007707/0.7443, allocations: 0.6536 MB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.7443, allocations: 11.98 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.7444, allocations: 51.53 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000943/0.7454, allocations: 398.6 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.617e-05/0.7454, allocations: 28.42 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.641e-05/0.7455, allocations: 43.89 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003929/0.7459, allocations: 255.2 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.7459, allocations: 0 / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.746, allocations: 8 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.746, allocations: 7.984 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002452/0.7462, allocations: 157.7 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.7474, allocations: 0.849 MB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003232/0.7478, allocations: 230.9 kB / 1.029 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/0.7481, allocations: 200.8 kB / 1.029 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.7481, allocations: 7.938 kB / 1.029 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003289/0.7484, allocations: 251.8 kB / 1.029 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=28): time 1.613e-06/0.7484, allocations: 0 / 1.029 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28): time 0.0006495/0.7491, allocations: 422.3 kB / 1.029 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/0.7492, allocations: 114.8 kB / 1.03 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003014/0.7495, allocations: 324.2 kB / 1.03 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.151e-05/0.7495, allocations: 41.7 kB / 1.03 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.7497, allocations: 180.5 kB / 1.03 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.892e-05/0.7497, allocations: 55.27 kB / 1.03 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.319e-05/0.7498, allocations: 19.98 kB / 1.03 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.7499, allocations: 342.8 kB / 1.03 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003478/0.7502, allocations: 208.7 kB / 1.031 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000398/0.7507, allocations: 328.7 kB / 1.031 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003971/0.7511, allocations: 340 kB / 1.031 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.7511, allocations: 0 / 1.031 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001044/0.7521, allocations: 0.7287 MB / 1.032 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.271e-05/0.7522, allocations: 127.2 kB / 1.032 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.7522, allocations: 8 kB / 1.032 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.7523, allocations: 8 kB / 1.032 GB, free: 6.055 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.7525, allocations: 63.84 kB / 1.032 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.7525, allocations: 4 kB / 1.032 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006178/0.7531, allocations: 175.4 kB / 1.032 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.7532, allocations: 67.86 kB / 1.032 GB, free: 5.75 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,conInt3.y,conInt2.y,extIndInt.u[4],extIndInt.u[1],extIndInt.u[2],extIndInt.u[3],extIndInt1.u[2],extIndInt1.u[3],extIndInt1.y,extIndInt2.u[2],extIndInt2.u[3],extIndInt2.y,extIndInt3.u[2],extIndInt3.u[3],extIndInt3.y,extIndInt4.u[2],extIndInt4.u[3],extIndInt4.y,$PRE.intPul.booPul.y,intPul.booPul.y,$PRE.intPul1.booPul.y,intPul1.booPul.y,intPul2.y,$PRE.intPul2.booPul.y,intPul2.booPul.y,intPul3.y,$PRE.intPul3.booPul.y,intPul3.booPul.y,extIndInt4.u[1],extIndInt3.u[1],extIndInt2.u[1],extIndInt1.u[1],extIndInt4.u[4],extIndInt3.u[4],extIndInt2.u[4],extIndInt1.u[4]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.000225/0.7535, allocations: 189.8 kB / 1.033 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.42e-05/0.7535, allocations: 31.62 kB / 1.033 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005131/0.754, allocations: 361.1 kB / 1.033 GB, free: 5.16 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.7541, allocations: 7.984 kB / 1.033 GB, free: 5.152 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.7541, allocations: 0 / 1.033 GB, free: 5.152 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.7541, allocations: 7.938 kB / 1.033 GB, free: 5.145 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008568/0.7549, allocations: 0.7562 MB / 1.034 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.7549, allocations: 0 / 1.034 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.7551, allocations: 35.98 kB / 1.034 GB, free: 4.297 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-06/0.7551, allocations: 0 / 1.034 GB, free: 4.297 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/0.7551, allocations: 19.92 kB / 1.034 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.7551, allocations: 0 / 1.034 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.7551, allocations: 3.938 kB / 1.034 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005364/0.7557, allocations: 423.3 kB / 1.034 GB, free: 3.844 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.048e-05/0.7558, allocations: 112.6 kB / 1.034 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.157e-05/0.7558, allocations: 7.984 kB / 1.034 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.756, allocations: 11.94 kB / 1.034 GB, free: 3.695 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.811e-05/0.7561, allocations: 23.97 kB / 1.034 GB, free: 3.672 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.7561, allocations: 16 kB / 1.034 GB, free: 3.656 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002678/0.7564, allocations: 215 kB / 1.035 GB, free: 3.449 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7564, allocations: 0 / 1.035 GB, free: 3.449 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004895/0.7569, allocations: 91.91 kB / 1.035 GB, free: 3.359 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (extIndInt.u[2],extIndInt.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt1.u[2],extIndInt1.u[3],extIndInt1.y,extIndInt2.u[2],extIndInt2.u[3],extIndInt2.y,extIndInt3.u[2],extIndInt3.u[3],extIndInt3.y,extIndInt4.u[2],extIndInt4.u[3],extIndInt4.y,intPul.booPul.y,intPul1.booPul.y,intPul2.y,intPul2.booPul.y,intPul3.y,intPul3.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002353/0.7571, allocations: 121.4 kB / 1.035 GB, free: 3.23 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000932/0.758, allocations: 0.677 MB / 1.035 GB, free: 2.504 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.7581, allocations: 0 / 1.035 GB, free: 2.504 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.7583, allocations: 144.6 kB / 1.036 GB, free: 2.363 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005227/0.7588, allocations: 77.84 kB / 1.036 GB, free: 2.289 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.7599, allocations: 0.66 MB / 1.036 GB, free: 1.602 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.7603, allocations: 0.7811 MB / 1.037 GB, free: 0.7969 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.013e-05/0.7604, allocations: 31.44 kB / 1.037 GB, free: 0.7656 MB / 0.7794 GB Notification: Performance of SimCode: time 9.62e-07/0.7604, allocations: 0 / 1.037 GB, free: 0.7656 MB / 0.7794 GB Notification: Performance of Templates: time 0.008183/0.7686, allocations: 4.928 MB / 1.042 GB, free: 11.88 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractorCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractorCalcHelperMain.o] Error 1