Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.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.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, 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.0009453/0.0009455, allocations: 176 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.517/1.517, allocations: 223.2 MB / 240.6 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.771/2.771, allocations: 436.7 MB / 0.7113 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003915/0.0003915, allocations: 12 kB / 0.8717 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7913/0.7917, allocations: 153.7 MB / 1.022 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001038/0.7928, allocations: 497 kB / 1.022 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009801/0.7938, allocations: 0.8469 MB / 1.023 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.329e-05/0.7939, allocations: 4 kB / 1.023 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.085e-05/0.7939, allocations: 3.938 kB / 1.023 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.692e-05/0.794, allocations: 7.938 kB / 1.023 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.7941, allocations: 35.95 kB / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.7943, allocations: 63.83 kB / 1.023 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.7944, allocations: 31.97 kB / 1.023 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.617e-05/0.7945, allocations: 35.83 kB / 1.023 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.143e-05/0.7945, allocations: 35.84 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.7946, allocations: 7.938 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.383e-05/0.7946, allocations: 4 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.7946, allocations: 15.91 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.03e-05/0.7947, allocations: 33.7 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.988e-05/0.7948, allocations: 55.86 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.7948, allocations: 0 / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7948, allocations: 0 / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.7948, allocations: 4 kB / 1.023 GB, free: 15.42 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006079/0.7954, allocations: 393.1 kB / 1.024 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.7955, allocations: 11.98 kB / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.7955, allocations: 7.906 kB / 1.024 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.7957, allocations: 182.8 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.7957, allocations: 8 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.7957, allocations: 8 kB / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003151/0.796, allocations: 117.5 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.796, allocations: 0 / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.7961, allocations: 0 / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.7961, allocations: 8 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003642/0.7964, allocations: 119.9 kB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005393/0.797, allocations: 340.6 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005511/0.7976, allocations: 134.5 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.7978, allocations: 76.8 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.7978, allocations: 3.984 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.7978, allocations: 30.56 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.7978, allocations: 0 / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0006242/0.7984, allocations: 213.5 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.7985, allocations: 51.41 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.7986, allocations: 125.8 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.7986, allocations: 29.7 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.392e-05/0.7987, allocations: 92.12 kB / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.7987, allocations: 23.66 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.697e-06/0.7987, allocations: 0 / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.7989, allocations: 326.7 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.799, allocations: 59.95 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.7992, allocations: 55.95 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.7994, allocations: 51.97 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.7994, allocations: 0 / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000374/0.7998, allocations: 161.5 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.7998, allocations: 4 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.7998, allocations: 4 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.7998, allocations: 7.938 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.8, allocations: 27.97 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.8, allocations: 3.938 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.8001, allocations: 19.98 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.8001, allocations: 15.92 kB / 1.026 GB, free: 12.55 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: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.782e-05/0.8002, allocations: 121.8 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.8003, allocations: 3.906 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.05e-05/0.8003, allocations: 12.38 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.8003, allocations: 0 / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.8003, allocations: 0 / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.8003, allocations: 0 / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.8005, allocations: 201.6 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.8005, allocations: 0 / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.8007, allocations: 31.97 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.8007, allocations: 0 / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.8007, allocations: 3.984 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.8007, allocations: 4 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.8007, allocations: 0 / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004403/0.8012, allocations: 259.8 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.303e-05/0.8012, allocations: 89 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.8012, allocations: 0 / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.8014, allocations: 19.98 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.652e-05/0.8015, allocations: 23.97 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.8015, allocations: 0 / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.796e-05/0.8015, allocations: 95.27 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8016, allocations: 0 / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002293/0.8018, allocations: 19.94 kB / 1.027 GB, free: 11.59 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: 3 (sub.y,reaToInt.y,reaToInt1.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): 7 * 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.000115/0.8019, allocations: 99.25 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004012/0.8023, allocations: 135.9 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.8023, allocations: 0 / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001815/0.8025, allocations: 63.95 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.8028, allocations: 23.02 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00042/0.8032, allocations: 215 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.8035, allocations: 0.6926 MB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.036e-05/0.8036, allocations: 19.42 kB / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.8036, allocations: 0 / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of Templates: time 0.002696/0.8063, allocations: 1.221 MB / 1.029 GB, free: 9.07 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.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.SubtractCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.SubtractCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.SubtractCalcHelperMain.o] Error 1