Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008422/0.0008425, allocations: 103 kB / 15.71 MB, free: 460 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.0008542/0.0008541, allocations: 180 kB / 16.59 MB, free: 6.148 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.821/1.821, allocations: 205.4 MB / 222.8 MB, free: 5.633 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.958/1.958, allocations: 292.7 MB / 0.5505 GB, free: 14.56 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.0005836/0.0005836, allocations: 15.97 kB / 0.6744 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2963, allocations: 116.3 MB / 0.7879 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.0009518/0.2973, allocations: 394.4 kB / 0.7883 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001577/0.2989, allocations: 1.169 MB / 0.7895 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.136e-05/0.2989, allocations: 0 / 0.7895 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.725e-05/0.2989, allocations: 3.938 kB / 0.7895 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.605e-05/0.299, allocations: 7.922 kB / 0.7895 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006073/0.2996, allocations: 193.6 kB / 0.7897 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.2998, allocations: 135.7 kB / 0.7898 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.529e-05/0.2999, allocations: 11.98 kB / 0.7898 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.902e-05/0.3, allocations: 55.88 kB / 0.7899 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.3002, allocations: 47.88 kB / 0.7899 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.3002, allocations: 8 kB / 0.7899 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.726e-05/0.3003, allocations: 23.92 kB / 0.7899 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.934e-05/0.3003, allocations: 8 kB / 0.7899 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.391e-05/0.3004, allocations: 37.7 kB / 0.79 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.3005, allocations: 104 kB / 0.7901 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3005, allocations: 0 / 0.7901 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.113e-06/0.3005, allocations: 0 / 0.7901 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.3006, allocations: 0 / 0.7901 GB, free: 9.77 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.0004985/0.3011, allocations: 406.7 kB / 0.7905 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.3011, allocations: 8.031 kB / 0.7905 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.306e-05/0.3012, allocations: 11.91 kB / 0.7905 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.3013, allocations: 183 kB / 0.7907 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.3013, allocations: 7.984 kB / 0.7907 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/0.3014, allocations: 8 kB / 0.7907 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.3015, allocations: 45.69 kB / 0.7907 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.3015, allocations: 3.938 kB / 0.7907 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.3015, allocations: 4 kB / 0.7907 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3015, allocations: 0 / 0.7907 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.163e-05/0.3016, allocations: 15.98 kB / 0.7907 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005278/0.3021, allocations: 364.5 kB / 0.7911 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.717e-05/0.3022, allocations: 30.58 kB / 0.7911 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.014e-05/0.3023, allocations: 20.94 kB / 0.7911 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.3023, allocations: 0 / 0.7911 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001824/0.3025, allocations: 75.31 kB / 0.7912 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.3025, allocations: 0 / 0.7912 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002366/0.3027, allocations: 105.6 kB / 0.7913 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.3028, allocations: 59.39 kB / 0.7914 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.3029, allocations: 122 kB / 0.7915 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.3029, allocations: 29.7 kB / 0.7915 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.564e-05/0.303, allocations: 88.33 kB / 0.7916 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.303, allocations: 15.81 kB / 0.7916 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.978e-05/0.303, allocations: 4 kB / 0.7916 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3032, allocations: 322.8 kB / 0.7919 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.3033, allocations: 63.97 kB / 0.792 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.3035, allocations: 95.81 kB / 0.7921 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.3036, allocations: 111.4 kB / 0.7922 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3036, allocations: 0 / 0.7922 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004044/0.304, allocations: 260.8 kB / 0.7924 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.681e-05/0.3041, allocations: 74.2 kB / 0.7925 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.3041, allocations: 0 / 0.7925 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.3042, allocations: 64 / 0.7925 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.52e-05/0.3042, allocations: 11.98 kB / 0.7925 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3042, allocations: 3.938 kB / 0.7925 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003978/0.3046, allocations: 80.05 kB / 0.7926 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/0.3047, allocations: 8 kB / 0.7926 GB, free: 6.902 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001265/0.3048, allocations: 140.6 kB / 0.7927 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.14e-05/0.3048, allocations: 3.906 kB / 0.7927 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.719e-05/0.3048, allocations: 12.38 kB / 0.7927 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.3048, allocations: 480 / 0.7927 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.3049, allocations: 0 / 0.7927 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3049, allocations: 3.938 kB / 0.7927 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.305, allocations: 181.6 kB / 0.7929 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.305, allocations: 0 / 0.7929 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.081e-05/0.305, allocations: 7.938 kB / 0.7929 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.3051, allocations: 4 kB / 0.7929 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.3051, allocations: 0 / 0.7929 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3051, allocations: 4 kB / 0.7929 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3051, allocations: 3.938 kB / 0.7929 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.3052, allocations: 113 kB / 0.793 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.473e-05/0.3053, allocations: 81.02 kB / 0.7931 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.3053, allocations: 7.984 kB / 0.7931 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.73e-05/0.3053, allocations: 0 / 0.7931 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.3054, allocations: 0 / 0.7931 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.3054, allocations: 7.984 kB / 0.7931 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.721e-05/0.3055, allocations: 91.28 kB / 0.7932 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3055, allocations: 0 / 0.7932 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002323/0.3057, allocations: 35.98 kB / 0.7933 GB, free: 6.125 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,or1.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 (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.0001745/0.3059, allocations: 99.25 kB / 0.7934 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003522/0.3062, allocations: 242.7 kB / 0.7936 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.3063, allocations: 0 / 0.7936 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.356e-05/0.3063, allocations: 36.55 kB / 0.7936 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.3065, allocations: 23.94 kB / 0.7936 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003566/0.3069, allocations: 193.1 kB / 0.7938 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.3072, allocations: 0.6887 MB / 0.7945 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.819e-05/0.3072, allocations: 15.38 kB / 0.7945 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.3072, allocations: 0 / 0.7945 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of Templates: time 0.003211/0.3105, allocations: 1.371 MB / 0.7959 GB, free: 3.387 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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_8_Buildings.Controls.OBC.CDL.Logical.Validation.OrCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OrCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OrCalcHelperMain.o] Error 1