Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.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.Integers.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007251/0.0007249, allocations: 100.5 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.0009117/0.0009118, allocations: 175.9 kB / 16.58 MB, free: 6.879 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.463/1.463, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.764/2.764, allocations: 436.7 MB / 0.7113 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003605, allocations: 12 kB / 0.8717 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8351/0.8355, allocations: 153.7 MB / 1.022 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.0009044/0.8365, allocations: 433.3 kB / 1.022 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009477/0.8374, allocations: 0.8196 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.065e-05/0.8375, allocations: 4 kB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.678e-05/0.8375, allocations: 3.938 kB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.305e-05/0.8376, allocations: 0 / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001389/0.8378, allocations: 27.91 kB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.58e-05/0.8378, allocations: 39.92 kB / 1.023 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.838, allocations: 15.97 kB / 1.023 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.472e-05/0.838, allocations: 15.92 kB / 1.023 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.025e-05/0.8381, allocations: 19.92 kB / 1.023 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.8381, allocations: 4 kB / 1.023 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.132e-05/0.8381, allocations: 0 / 1.023 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.8382, allocations: 7.984 kB / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.937e-05/0.8382, allocations: 29.7 kB / 1.023 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.578e-05/0.8383, allocations: 31.92 kB / 1.023 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.8383, allocations: 4 kB / 1.023 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8383, allocations: 0 / 1.023 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.8383, allocations: 0 / 1.023 GB, free: 15.64 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004732/0.8388, allocations: 345.3 kB / 1.023 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.8388, allocations: 11.98 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.063e-05/0.8389, allocations: 3.906 kB / 1.023 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.839, allocations: 175 kB / 1.024 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.8391, allocations: 8 kB / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.8391, allocations: 0 / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.8393, allocations: 77.59 kB / 1.024 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.8393, allocations: 3.984 kB / 1.024 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.8394, allocations: 4 kB / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.8394, allocations: 0 / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002047/0.8396, allocations: 63.95 kB / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/0.84, allocations: 292.7 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.8402, allocations: 74.53 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.8404, allocations: 36.86 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.8404, allocations: 4 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.8404, allocations: 34.55 kB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.8404, allocations: 4 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004198/0.8408, allocations: 121.6 kB / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.8409, allocations: 59.41 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.538e-05/0.841, allocations: 110 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.841, allocations: 25.7 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.8411, allocations: 84.14 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.8411, allocations: 15.75 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.8411, allocations: 0 / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.8413, allocations: 318.8 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.826e-05/0.8414, allocations: 27.98 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.933e-05/0.8415, allocations: 31.97 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.468e-05/0.8416, allocations: 31.94 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.8416, allocations: 0 / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002332/0.8418, allocations: 101.6 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.8418, allocations: 4 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.8418, allocations: 64 / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.8419, allocations: 4 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.842, allocations: 15.98 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.066e-06/0.842, allocations: 4 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.904e-05/0.8421, allocations: 15.98 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.8421, allocations: 0 / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (abs1.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.0001102/0.8422, allocations: 113.8 kB / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.8423, allocations: 3.906 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.907e-05/0.8423, allocations: 7.906 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.8423, allocations: 7.984 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.8423, allocations: 0 / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.8423, allocations: 4 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.8425, allocations: 165.7 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.8425, allocations: 3.953 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.814e-05/0.8426, allocations: 20.25 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.8426, allocations: 3.984 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.8426, allocations: 8 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.8426, allocations: 0 / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.8426, allocations: 0 / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/0.8429, allocations: 191.5 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.268e-05/0.843, allocations: 88.97 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.843, allocations: 3.938 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.426e-05/0.8431, allocations: 15.98 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.104e-05/0.8432, allocations: 7.984 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.8432, allocations: 7.938 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.854e-05/0.8433, allocations: 83.28 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8433, allocations: 0 / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002191/0.8435, allocations: 8 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (abs1.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001227/0.8436, allocations: 99.23 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002417/0.8439, allocations: 71.89 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.8439, allocations: 0 / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.844, allocations: 35.97 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.8443, allocations: 10.39 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003582/0.8447, allocations: 158.4 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.8449, allocations: 0.6809 MB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.222e-05/0.8449, allocations: 15.38 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.8449, allocations: 0 / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of Templates: time 0.002312/0.8473, allocations: 0.8035 MB / 1.028 GB, free: 10.6 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.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.Integers.Validation.AbsCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AbsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AbsCalcHelperMain.o] Error 1