Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.0008145/0.0008146, allocations: 99.59 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.0009063/0.0009064, allocations: 174.1 kB / 16.58 MB, free: 6.422 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.563/1.563, allocations: 223.2 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.631/2.631, allocations: 390.4 MB / 0.6662 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003393, allocations: 8 kB / 0.8154 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8938/0.8942, allocations: 142.3 MB / 0.9544 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.0009179/0.8952, allocations: 417.8 kB / 0.9548 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008603/0.896, allocations: 0.8258 MB / 0.9556 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.696e-05/0.8961, allocations: 1.312 kB / 0.9556 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.006e-05/0.8961, allocations: 3.984 kB / 0.9556 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.206e-05/0.8962, allocations: 5.5 kB / 0.9556 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.8964, allocations: 20.16 kB / 0.9557 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.959e-05/0.8964, allocations: 34.3 kB / 0.9557 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.8966, allocations: 8.703 kB / 0.9557 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.907e-05/0.8966, allocations: 19.11 kB / 0.9557 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.567e-05/0.8967, allocations: 25.88 kB / 0.9557 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.8968, allocations: 2.656 kB / 0.9557 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.65e-05/0.8968, allocations: 1.312 kB / 0.9557 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.446e-05/0.8968, allocations: 17.3 kB / 0.9558 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.606e-05/0.8968, allocations: 31.92 kB / 0.9558 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.956e-05/0.8969, allocations: 34.11 kB / 0.9558 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/0.8969, allocations: 1.406 kB / 0.9558 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.935e-06/0.8969, allocations: 0 / 0.9558 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.897, allocations: 0 / 0.9558 GB, free: 7.004 MB / 0.7169 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.0006178/0.8976, allocations: 351.9 kB / 0.9562 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.709e-05/0.8977, allocations: 10.03 kB / 0.9562 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.844e-05/0.8977, allocations: 5.375 kB / 0.9562 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.8979, allocations: 169.9 kB / 0.9563 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.8979, allocations: 1.5 kB / 0.9563 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.898, allocations: 10.92 kB / 0.9563 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.8982, allocations: 80.17 kB / 0.9564 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.8982, allocations: 0 / 0.9564 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.8982, allocations: 1.031 kB / 0.9564 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.8982, allocations: 5.172 kB / 0.9564 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002145/0.8985, allocations: 61.17 kB / 0.9565 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003928/0.8989, allocations: 280.9 kB / 0.9568 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.8991, allocations: 74.58 kB / 0.9568 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.8992, allocations: 39.12 kB / 0.9569 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.8992, allocations: 5.234 kB / 0.9569 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.8992, allocations: 30.56 kB / 0.9569 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.8992, allocations: 1.281 kB / 0.9569 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004188/0.8997, allocations: 126.8 kB / 0.957 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.8997, allocations: 56.5 kB / 0.9571 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.906e-05/0.8998, allocations: 109.7 kB / 0.9572 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.8998, allocations: 27.14 kB / 0.9572 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.741e-05/0.8999, allocations: 81.61 kB / 0.9573 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.8999, allocations: 21.16 kB / 0.9573 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-06/0.8999, allocations: 0 / 0.9573 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.818e-05/0.9, allocations: 316.2 kB / 0.9576 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.793e-05/0.9001, allocations: 28.95 kB / 0.9576 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.879e-05/0.9002, allocations: 31.22 kB / 0.9577 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.852e-05/0.9003, allocations: 36.69 kB / 0.9577 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.9003, allocations: 0 / 0.9577 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002335/0.9005, allocations: 91.97 kB / 0.9578 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.9006, allocations: 12.39 kB / 0.9578 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.9006, allocations: 0.9062 kB / 0.9578 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.9006, allocations: 0 / 0.9578 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.9007, allocations: 15.45 kB / 0.9578 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.9008, allocations: 5.438 kB / 0.9578 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.577e-05/0.9008, allocations: 10.36 kB / 0.9578 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.9008, allocations: 3.938 kB / 0.9578 GB, free: 5.086 MB / 0.7169 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 7.471e-05/0.9009, allocations: 116.3 kB / 0.9579 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.9009, allocations: 9.953 kB / 0.958 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.594e-05/0.901, allocations: 12.92 kB / 0.958 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.901, allocations: 1.391 kB / 0.958 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.901, allocations: 0 / 0.958 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.901, allocations: 1.031 kB / 0.958 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.9012, allocations: 175.1 kB / 0.9581 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.9012, allocations: 0 / 0.9581 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.219e-05/0.9013, allocations: 19.94 kB / 0.9582 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.9013, allocations: 5.094 kB / 0.9582 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.9013, allocations: 4 kB / 0.9582 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.9013, allocations: 4.984 kB / 0.9582 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.9013, allocations: 0 / 0.9582 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.9016, allocations: 194.3 kB / 0.9584 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.085e-05/0.9016, allocations: 82.11 kB / 0.9584 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.9016, allocations: 5.281 kB / 0.9584 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.003e-05/0.9017, allocations: 9.641 kB / 0.9584 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.104e-05/0.9018, allocations: 12.38 kB / 0.9585 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.9018, allocations: 5.281 kB / 0.9585 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.153e-05/0.9018, allocations: 83.89 kB / 0.9585 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9019, allocations: 4 kB / 0.9585 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002161/0.9021, allocations: 7.031 kB / 0.9586 GB, free: 4.348 MB / 0.7169 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.0001263/0.9022, allocations: 100.4 kB / 0.9586 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002581/0.9025, allocations: 60.05 kB / 0.9587 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.9025, allocations: 4 kB / 0.9587 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.9026, allocations: 42.44 kB / 0.9587 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.9029, allocations: 7.859 kB / 0.9588 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000353/0.9033, allocations: 163 kB / 0.9589 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.9034, allocations: 0.68 MB / 0.9596 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.375e-05/0.9035, allocations: 11.09 kB / 0.9596 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.9035, allocations: 0 / 0.9596 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of Templates: time 0.002538/0.906, allocations: 0.8004 MB / 0.9604 GB, free: 2.934 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile make -j1 -f Buildings_9_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_9_Buildings.Controls.OBC.CDL.Integers.Validation.AbsCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AbsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AbsCalcHelperMain.o] Error 1