Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.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.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001091, allocations: 91.45 kB / 16.02 MB, free: 80 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.0009521/0.0009523, allocations: 178.6 kB / 16.92 MB, free: 6.652 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.788/1.788, allocations: 205.4 MB / 223.1 MB, free: 5.555 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 2.026/2.026, allocations: 292.7 MB / 0.5509 GB, free: 14.46 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.0006009/0.0006009, allocations: 20.81 kB / 0.675 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3328, allocations: 116.3 MB / 0.7886 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.00141/0.3343, allocations: 406.3 kB / 0.7889 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002016/0.3364, allocations: 1.2 MB / 0.7901 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.367e-05/0.3364, allocations: 0 / 0.7901 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.418e-05/0.3365, allocations: 3.938 kB / 0.7901 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.3366, allocations: 11.92 kB / 0.7901 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007954/0.3374, allocations: 198.3 kB / 0.7903 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002346/0.3377, allocations: 151.8 kB / 0.7905 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.3378, allocations: 8 kB / 0.7905 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.3379, allocations: 59.88 kB / 0.7905 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.3381, allocations: 47.88 kB / 0.7906 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.518e-05/0.3382, allocations: 8 kB / 0.7906 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.3383, allocations: 23.98 kB / 0.7906 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.166e-05/0.3383, allocations: 11.88 kB / 0.7906 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.3385, allocations: 73.58 kB / 0.7907 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.3387, allocations: 111.9 kB / 0.7908 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.277e-05/0.3387, allocations: 4 kB / 0.7908 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.689e-06/0.3387, allocations: 0 / 0.7908 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.3387, allocations: 0 / 0.7908 GB, free: 9.262 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008539/0.3396, allocations: 398.8 kB / 0.7912 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.417e-05/0.3397, allocations: 16.03 kB / 0.7912 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.303e-05/0.3397, allocations: 12.84 kB / 0.7912 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.34, allocations: 168.3 kB / 0.7914 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.287e-05/0.34, allocations: 8.375 kB / 0.7914 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.344e-05/0.3401, allocations: 12.38 kB / 0.7914 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.3402, allocations: 42.25 kB / 0.7914 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3402, allocations: 192 / 0.7914 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.3403, allocations: 3.938 kB / 0.7914 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.3403, allocations: 0 / 0.7914 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.709e-05/0.3403, allocations: 23.92 kB / 0.7914 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007188/0.3411, allocations: 356.7 kB / 0.7918 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.3412, allocations: 38.5 kB / 0.7918 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.691e-05/0.3412, allocations: 12.86 kB / 0.7918 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.3413, allocations: 0 / 0.7918 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000242/0.3415, allocations: 91.39 kB / 0.7919 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.3415, allocations: 0 / 0.7919 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003217/0.3419, allocations: 101.6 kB / 0.792 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/0.3419, allocations: 59.39 kB / 0.7921 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.3421, allocations: 117.8 kB / 0.7922 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.137e-05/0.3421, allocations: 29.7 kB / 0.7922 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.3422, allocations: 100 kB / 0.7923 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.3423, allocations: 15.88 kB / 0.7923 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-05/0.3423, allocations: 25.72 kB / 0.7924 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000208/0.3426, allocations: 322.8 kB / 0.7927 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.3427, allocations: 55.97 kB / 0.7927 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.3429, allocations: 100.2 kB / 0.7928 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.3432, allocations: 160 kB / 0.793 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.3432, allocations: 0 / 0.793 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004847/0.3437, allocations: 260.8 kB / 0.7932 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.213e-05/0.3438, allocations: 71.33 kB / 0.7933 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.3438, allocations: 0 / 0.7933 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.3438, allocations: 4 kB / 0.7933 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.797e-05/0.3438, allocations: 4.062 kB / 0.7933 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.3438, allocations: 8 kB / 0.7933 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004431/0.3443, allocations: 81.94 kB / 0.7934 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.502e-05/0.3443, allocations: 12 kB / 0.7934 GB, free: 6.301 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: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nand1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001651/0.3445, allocations: 129.7 kB / 0.7935 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.143e-05/0.3445, allocations: 4 kB / 0.7935 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.766e-05/0.3446, allocations: 8.375 kB / 0.7935 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3446, allocations: 3.984 kB / 0.7935 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.3446, allocations: 0 / 0.7935 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3446, allocations: 0 / 0.7935 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.3448, allocations: 185.6 kB / 0.7937 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3448, allocations: 0 / 0.7937 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.075e-05/0.3449, allocations: 4 kB / 0.7937 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.3449, allocations: 0 / 0.7937 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.3449, allocations: 3.938 kB / 0.7937 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3449, allocations: 0 / 0.7937 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3449, allocations: 0 / 0.7937 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.3451, allocations: 121.2 kB / 0.7938 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.73e-05/0.3452, allocations: 89.02 kB / 0.7939 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.3452, allocations: 3.984 kB / 0.7939 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.869e-05/0.3452, allocations: 0 / 0.7939 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.916e-05/0.3453, allocations: 4 kB / 0.7939 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.3453, allocations: 7.984 kB / 0.7939 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.725e-05/0.3454, allocations: 87.22 kB / 0.794 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3454, allocations: 0 / 0.794 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002427/0.3456, allocations: 32 kB / 0.794 GB, free: 5.535 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nand1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0002802/0.3459, allocations: 111.2 kB / 0.7941 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004426/0.3464, allocations: 250.6 kB / 0.7944 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3464, allocations: 0 / 0.7944 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.393e-05/0.3465, allocations: 27.98 kB / 0.7944 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.3467, allocations: 11.98 kB / 0.7944 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005467/0.3473, allocations: 205.2 kB / 0.7946 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000497/0.3478, allocations: 0.6848 MB / 0.7953 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.41e-05/0.3478, allocations: 11.44 kB / 0.7953 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.3478, allocations: 0 / 0.7953 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of Templates: time 0.00373/0.3516, allocations: 1.38 MB / 0.7966 GB, free: 2.789 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.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.NandCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.NandCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.NandCalcHelperMain.o] Error 1