Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 99.03 kB / 16.02 MB, free: 76 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.001646/0.001646, allocations: 181.2 kB / 16.92 MB, free: 6.918 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.838/1.838, allocations: 205.4 MB / 223.1 MB, free: 5.512 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.835/1.835, allocations: 292.7 MB / 0.5509 GB, free: 14.45 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.0005629/0.0005626, allocations: 13.78 kB / 0.675 GB, free: 25.78 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3345, allocations: 116.3 MB / 0.7886 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001122/0.3357, allocations: 489.9 kB / 0.789 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.3372, allocations: 1.154 MB / 0.7902 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.3372, allocations: 0 / 0.7902 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.923e-05/0.3373, allocations: 3.938 kB / 0.7902 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.899e-05/0.3374, allocations: 11.94 kB / 0.7902 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004729/0.3378, allocations: 122.9 kB / 0.7903 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.338, allocations: 99.8 kB / 0.7904 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.3381, allocations: 12 kB / 0.7904 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.3382, allocations: 39.91 kB / 0.7904 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.494e-05/0.3383, allocations: 39.81 kB / 0.7905 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.905e-05/0.3383, allocations: 12 kB / 0.7905 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.16e-05/0.3384, allocations: 23.98 kB / 0.7905 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.744e-05/0.3384, allocations: 4 kB / 0.7905 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.708e-05/0.3385, allocations: 65.48 kB / 0.7906 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.3387, allocations: 75.81 kB / 0.7906 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3387, allocations: 0 / 0.7906 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.359e-06/0.3387, allocations: 0 / 0.7906 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.3387, allocations: 3.938 kB / 0.7906 GB, free: 9.395 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006669/0.3394, allocations: 405.2 kB / 0.791 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.3395, allocations: 8.031 kB / 0.791 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.588e-05/0.3395, allocations: 8.938 kB / 0.791 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.3397, allocations: 168.3 kB / 0.7912 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.3397, allocations: 4.375 kB / 0.7912 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.3397, allocations: 8.375 kB / 0.7912 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.34, allocations: 74.16 kB / 0.7913 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.34, allocations: 4.188 kB / 0.7913 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.34, allocations: 7.922 kB / 0.7913 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.34, allocations: 0 / 0.7913 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/0.3402, allocations: 51.91 kB / 0.7913 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005407/0.3408, allocations: 336.6 kB / 0.7917 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.341, allocations: 62.55 kB / 0.7917 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.3411, allocations: 48.95 kB / 0.7918 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.3411, allocations: 3.938 kB / 0.7918 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002884/0.3414, allocations: 91.36 kB / 0.7919 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.3414, allocations: 4 kB / 0.7919 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004648/0.3419, allocations: 161.6 kB / 0.792 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.342, allocations: 59.41 kB / 0.7921 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.875e-05/0.3421, allocations: 113.8 kB / 0.7922 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.3421, allocations: 33.64 kB / 0.7922 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.845e-05/0.3422, allocations: 92.12 kB / 0.7923 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.3422, allocations: 15.81 kB / 0.7923 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/0.3422, allocations: 25.64 kB / 0.7924 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.3424, allocations: 318.8 kB / 0.7927 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.3425, allocations: 59.95 kB / 0.7927 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.3427, allocations: 88.25 kB / 0.7928 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/0.343, allocations: 153.8 kB / 0.7929 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.343, allocations: 0 / 0.7929 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004658/0.3435, allocations: 227.1 kB / 0.7932 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.015e-05/0.3436, allocations: 41.69 kB / 0.7932 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3436, allocations: 0 / 0.7932 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.3436, allocations: 4 kB / 0.7932 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.719e-05/0.3437, allocations: 12.12 kB / 0.7932 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.3437, allocations: 7.984 kB / 0.7932 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.3439, allocations: 47.81 kB / 0.7933 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.344, allocations: 7.984 kB / 0.7933 GB, free: 6.414 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.3441, allocations: 134.4 kB / 0.7934 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.31e-05/0.3441, allocations: 4 kB / 0.7934 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.767e-05/0.3441, allocations: 8.375 kB / 0.7934 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.3441, allocations: 4 kB / 0.7934 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.3442, allocations: 0 / 0.7934 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3442, allocations: 3.984 kB / 0.7934 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004922/0.3447, allocations: 390.3 kB / 0.7938 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3447, allocations: 0 / 0.7938 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.651e-05/0.3447, allocations: 11.98 kB / 0.7938 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3447, allocations: 0 / 0.7938 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.3448, allocations: 0 / 0.7938 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3448, allocations: 7.938 kB / 0.7938 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3448, allocations: 0 / 0.7938 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.3451, allocations: 223.7 kB / 0.794 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.762e-05/0.3451, allocations: 89.09 kB / 0.7941 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.3452, allocations: 0 / 0.7941 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.559e-05/0.3453, allocations: 8 kB / 0.7941 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.3453, allocations: 11.92 kB / 0.7941 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.759e-06/0.3453, allocations: 11.88 kB / 0.7941 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.867e-05/0.3454, allocations: 95.75 kB / 0.7942 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3454, allocations: 0 / 0.7942 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000253/0.3456, allocations: 24 kB / 0.7943 GB, free: 5.309 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001875/0.3458, allocations: 114 kB / 0.7944 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003927/0.3462, allocations: 187.3 kB / 0.7945 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3463, allocations: 256 / 0.7945 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.3464, allocations: 43.98 kB / 0.7946 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.3467, allocations: 11.98 kB / 0.7946 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003897/0.3471, allocations: 220.8 kB / 0.7948 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.3474, allocations: 0.6848 MB / 0.7955 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.3474, allocations: 11.44 kB / 0.7955 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.3474, allocations: 0 / 0.7955 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of Templates: time 0.003228/0.3507, allocations: 1.243 MB / 0.7967 GB, free: 2.734 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.ChangeCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.ChangeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.ChangeCalcHelperMain.o] Error 1