Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007607/0.0007607, allocations: 99.75 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.0009497/0.0009498, allocations: 176.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.441/1.441, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.769/2.769, allocations: 436.7 MB / 0.7114 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003956/0.0003956, allocations: 8 kB / 0.8717 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7726/0.773, allocations: 153.7 MB / 1.022 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001039/0.7741, allocations: 0.5699 MB / 1.022 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00148/0.7756, allocations: 1.273 MB / 1.024 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.071e-05/0.7757, allocations: 0 / 1.024 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.286e-05/0.7758, allocations: 11.88 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.934e-05/0.7758, allocations: 31.78 kB / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006299/0.7765, allocations: 215.6 kB / 1.024 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002649/0.7768, allocations: 259.5 kB / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.7769, allocations: 53.62 kB / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.7771, allocations: 103.7 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/0.7773, allocations: 107.7 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.239e-05/0.7773, allocations: 8 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.097e-05/0.7774, allocations: 23.98 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.545e-05/0.7775, allocations: 35.84 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.053e-05/0.7776, allocations: 61.58 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.7778, allocations: 245.3 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.7778, allocations: 0 / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.213e-06/0.7778, allocations: 0 / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.7778, allocations: 0 / 1.025 GB, free: 14.14 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005399/0.7784, allocations: 0.4979 MB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.7784, allocations: 15.98 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.16e-05/0.7785, allocations: 19.81 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006421/0.7792, allocations: 304.2 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.7792, allocations: 12 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.041e-05/0.7792, allocations: 23.95 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.7795, allocations: 149 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.7795, allocations: 3.938 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.7795, allocations: 4 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.7795, allocations: 4 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.7797, allocations: 63.91 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007582/0.7804, allocations: 0.7469 MB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.238e-05/0.7805, allocations: 61.16 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.022e-05/0.7806, allocations: 25.77 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.7806, allocations: 4 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002038/0.7808, allocations: 112.9 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.7808, allocations: 0 / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0002872/0.7811, allocations: 117.5 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.7812, allocations: 85.09 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.7814, allocations: 211.6 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.7814, allocations: 33.7 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.7815, allocations: 139.8 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.7816, allocations: 15.81 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/0.7816, allocations: 8 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.7817, allocations: 326.8 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.7819, allocations: 63.95 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.782, allocations: 118.7 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.7822, allocations: 123.4 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.7822, allocations: 0 / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004549/0.7827, allocations: 308.6 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.726e-05/0.7827, allocations: 59.59 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.7828, allocations: 8 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.7828, allocations: 0 / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.468e-05/0.7828, allocations: 11.98 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.7829, allocations: 4 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003265/0.7832, allocations: 71.94 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/0.7832, allocations: 19.98 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,extIntSig1.y[4],$PRE.intPul.booPul.y,intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],$PRE.intPul1.booPul.y,intPul1.booPul.y,conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.0001436/0.7834, allocations: 150.3 kB / 1.028 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.7834, allocations: 19.77 kB / 1.028 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.722e-05/0.7835, allocations: 20.88 kB / 1.028 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.7835, allocations: 7.969 kB / 1.028 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.7835, allocations: 0 / 1.028 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.7835, allocations: 4 kB / 1.028 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/0.7837, allocations: 237.4 kB / 1.029 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.7837, allocations: 0 / 1.029 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.866e-05/0.7837, allocations: 4 kB / 1.029 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.7838, allocations: 3.953 kB / 1.029 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.7838, allocations: 0 / 1.029 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.7838, allocations: 4 kB / 1.029 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.7838, allocations: 3.938 kB / 1.029 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.784, allocations: 125.9 kB / 1.029 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.227e-05/0.784, allocations: 96.91 kB / 1.029 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.784, allocations: 3.953 kB / 1.029 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.042e-05/0.7841, allocations: 0 / 1.029 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.7841, allocations: 11.98 kB / 1.029 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.7841, allocations: 4 kB / 1.029 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001168/0.7843, allocations: 145.5 kB / 1.029 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7843, allocations: 3.938 kB / 1.029 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000272/0.7845, allocations: 39.91 kB / 1.029 GB, free: 9.109 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001595/0.7847, allocations: 123.1 kB / 1.029 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003648/0.7851, allocations: 250.7 kB / 1.029 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7851, allocations: 0 / 1.029 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.46e-05/0.7852, allocations: 36.3 kB / 1.03 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.7855, allocations: 44.3 kB / 1.03 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005652/0.786, allocations: 371.1 kB / 1.03 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.7863, allocations: 0.7283 MB / 1.031 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.732e-05/0.7864, allocations: 15.44 kB / 1.031 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.7864, allocations: 0 / 1.031 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of Templates: time 0.004352/0.7907, allocations: 2.45 MB / 1.033 GB, free: 5.047 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.IntegerExtractSignalCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignalCalcHelperMain.o] Error 1