Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008024/0.0008026, allocations: 92.16 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.0009951/0.0009955, allocations: 172.9 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 2/2, 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 1.968/1.968, allocations: 292.7 MB / 0.5509 GB, free: 14.47 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.0006261/0.0006263, allocations: 13.19 kB / 0.675 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3236, allocations: 116.3 MB / 0.7886 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.0009692/0.3247, allocations: 450.2 kB / 0.789 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001623/0.3263, allocations: 1.286 MB / 0.7902 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.44e-05/0.3263, allocations: 0 / 0.7902 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.188e-05/0.3264, allocations: 3.938 kB / 0.7902 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.3265, allocations: 19.84 kB / 0.7903 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007247/0.3272, allocations: 294.4 kB / 0.7905 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002126/0.3274, allocations: 223.6 kB / 0.7908 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.735e-05/0.3275, allocations: 8.188 kB / 0.7908 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.3277, allocations: 91.8 kB / 0.7909 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.3278, allocations: 71.77 kB / 0.7909 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.601e-05/0.3278, allocations: 16 kB / 0.7909 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.203e-05/0.3279, allocations: 31.92 kB / 0.791 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.219e-05/0.3279, allocations: 11.98 kB / 0.791 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.3281, allocations: 101.4 kB / 0.7911 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.3283, allocations: 147.9 kB / 0.7912 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3283, allocations: 0 / 0.7912 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3283, allocations: 4 kB / 0.7912 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.3283, allocations: 0 / 0.7912 GB, free: 8.836 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.0006061/0.3289, allocations: 452.4 kB / 0.7917 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.3289, allocations: 12.03 kB / 0.7917 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.265e-05/0.329, allocations: 16.84 kB / 0.7917 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.3292, allocations: 175.2 kB / 0.7918 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.3292, allocations: 12.38 kB / 0.7919 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.162e-05/0.3292, allocations: 12.38 kB / 0.7919 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.3294, allocations: 62.22 kB / 0.7919 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3294, allocations: 7.875 kB / 0.7919 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.3294, allocations: 0 / 0.7919 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3294, allocations: 0 / 0.7919 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.384e-05/0.3295, allocations: 23.98 kB / 0.792 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005305/0.33, allocations: 408.5 kB / 0.7923 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.192e-05/0.3301, allocations: 42.5 kB / 0.7924 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.245e-05/0.3301, allocations: 16.86 kB / 0.7924 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.3301, allocations: 3.984 kB / 0.7924 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/0.3303, allocations: 111.3 kB / 0.7925 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.3303, allocations: 0 / 0.7925 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.000281/0.3306, allocations: 137.5 kB / 0.7926 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.3307, allocations: 55.41 kB / 0.7927 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.3308, allocations: 129.8 kB / 0.7928 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/0.3308, allocations: 33.64 kB / 0.7929 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.821e-05/0.3309, allocations: 108.1 kB / 0.793 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.331, allocations: 23.69 kB / 0.793 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.3311, allocations: 33.7 kB / 0.793 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002697/0.3314, allocations: 322.8 kB / 0.7933 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.3315, allocations: 87.95 kB / 0.7934 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.3318, allocations: 130 kB / 0.7935 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000271/0.332, allocations: 231 kB / 0.7937 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.332, allocations: 0 / 0.7937 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005868/0.3326, allocations: 386.5 kB / 0.7941 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.641e-05/0.3327, allocations: 105.1 kB / 0.7942 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3327, allocations: 0 / 0.7942 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.3328, allocations: 4 kB / 0.7942 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.148e-05/0.3328, allocations: 4 kB / 0.7942 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.3328, allocations: 4.062 kB / 0.7942 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005685/0.3334, allocations: 123.8 kB / 0.7943 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.735e-05/0.3334, allocations: 19.98 kB / 0.7944 GB, free: 5.273 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul3.y,$PRE.booPul3.y,and1.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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0002231/0.3337, allocations: 133.8 kB / 0.7945 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/0.3337, allocations: 7.906 kB / 0.7945 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.78e-05/0.3337, allocations: 8.375 kB / 0.7945 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3337, allocations: 0 / 0.7945 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3337, allocations: 0 / 0.7945 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.3337, allocations: 7.984 kB / 0.7945 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.3339, allocations: 193.5 kB / 0.7947 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3339, allocations: 0 / 0.7947 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.057e-06/0.334, allocations: 384 / 0.7947 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.334, allocations: 0 / 0.7947 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.334, allocations: 7.984 kB / 0.7947 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.334, allocations: 3.938 kB / 0.7947 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.334, allocations: 3.938 kB / 0.7947 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.3342, allocations: 136.9 kB / 0.7948 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.243e-05/0.3342, allocations: 89 kB / 0.7949 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.3342, allocations: 4 kB / 0.7949 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.602e-05/0.3343, allocations: 4 kB / 0.7949 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.3343, allocations: 11.98 kB / 0.795 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.3343, allocations: 4 kB / 0.795 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.276e-05/0.3344, allocations: 101.3 kB / 0.7951 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3344, allocations: 0 / 0.7951 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000253/0.3346, allocations: 43.91 kB / 0.7951 GB, free: 4.434 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000151/0.3348, allocations: 111.2 kB / 0.7952 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004403/0.3352, allocations: 369.9 kB / 0.7956 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3353, allocations: 0 / 0.7956 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.837e-05/0.3353, allocations: 35.98 kB / 0.7956 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.3356, allocations: 23.98 kB / 0.7956 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003566/0.336, allocations: 241.5 kB / 0.7958 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.3363, allocations: 0.6926 MB / 0.7965 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.357e-05/0.3364, allocations: 11.44 kB / 0.7965 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of SimCode: time 3.4e-07/0.3364, allocations: 4 kB / 0.7965 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of Templates: time 0.003536/0.3399, allocations: 1.864 MB / 0.7984 GB, free: 1.008 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.And3CalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3CalcHelperMain.o] Error 1