Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009775/0.0009775, allocations: 91.92 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.001711/0.001711, allocations: 184.2 kB / 16.92 MB, free: 6.926 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.93/1.93, allocations: 205.4 MB / 223.1 MB, free: 5.551 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.922/1.922, 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.000576/0.0005761, allocations: 12.84 kB / 0.675 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.376, allocations: 116.3 MB / 0.7886 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.001863/0.3779, allocations: 1.138 MB / 0.7897 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004887/0.3784, allocations: 213.3 kB / 0.7899 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.422e-05/0.3785, allocations: 0 / 0.7899 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.18e-05/0.3785, allocations: 3.938 kB / 0.7899 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002295/0.3787, allocations: 11.92 kB / 0.7899 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001031/0.3788, allocations: 23.97 kB / 0.7899 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.379, allocations: 43.86 kB / 0.7899 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.3791, allocations: 8 kB / 0.79 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.495e-05/0.3792, allocations: 19.92 kB / 0.79 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.626e-05/0.3792, allocations: 15.92 kB / 0.79 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.3793, allocations: 4 kB / 0.79 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.166e-05/0.3793, allocations: 3.938 kB / 0.79 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.207e-05/0.3793, allocations: 7.969 kB / 0.79 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.598e-05/0.3794, allocations: 45.58 kB / 0.79 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.911e-05/0.3795, allocations: 35.92 kB / 0.7901 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3795, allocations: 0 / 0.7901 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3795, allocations: 0 / 0.7901 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.3795, allocations: 0 / 0.7901 GB, free: 9.98 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005809/0.3801, allocations: 359.7 kB / 0.7904 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.3801, allocations: 12.03 kB / 0.7904 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.3802, allocations: 8.844 kB / 0.7904 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.3804, allocations: 180.2 kB / 0.7906 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.3804, allocations: 4.312 kB / 0.7906 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.3804, allocations: 4.375 kB / 0.7906 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.3807, allocations: 66.22 kB / 0.7907 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.3807, allocations: 3.938 kB / 0.7907 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.3808, allocations: 0 / 0.7907 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3808, allocations: 4 kB / 0.7907 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001971/0.381, allocations: 51.97 kB / 0.7907 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005028/0.3815, allocations: 288.9 kB / 0.791 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.3818, allocations: 74.53 kB / 0.7911 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.3819, allocations: 36.84 kB / 0.7911 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.3819, allocations: 0 / 0.7911 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.382, allocations: 30.56 kB / 0.7912 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 2.555e-06/0.382, allocations: 3.984 kB / 0.7912 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0004266/0.3824, allocations: 129.5 kB / 0.7913 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.3825, allocations: 51.41 kB / 0.7913 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.311e-05/0.3825, allocations: 113.8 kB / 0.7914 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.3826, allocations: 25.7 kB / 0.7915 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.82e-05/0.3826, allocations: 88.14 kB / 0.7915 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.3827, allocations: 19.73 kB / 0.7916 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.731e-05/0.3827, allocations: 13.72 kB / 0.7916 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3829, allocations: 322.8 kB / 0.7919 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.3831, allocations: 27.97 kB / 0.7919 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.208e-05/0.3832, allocations: 27.98 kB / 0.7919 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.3834, allocations: 72.75 kB / 0.792 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3834, allocations: 0 / 0.792 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002431/0.3836, allocations: 97.61 kB / 0.7921 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.3836, allocations: 7.984 kB / 0.7921 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.3837, allocations: 3.984 kB / 0.7921 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.3837, allocations: 4 kB / 0.7921 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.962e-05/0.3838, allocations: 15.98 kB / 0.7921 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.3838, allocations: 0 / 0.7921 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.84e-05/0.3839, allocations: 11.91 kB / 0.7921 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.3839, allocations: 4 kB / 0.7921 GB, free: 7.637 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 8.646e-05/0.384, allocations: 114.4 kB / 0.7923 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.384, allocations: 4 kB / 0.7923 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/0.3843, allocations: 105.5 kB / 0.7924 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3843, allocations: 7.984 kB / 0.7924 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3843, allocations: 0 / 0.7924 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3843, allocations: 0 / 0.7924 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.3845, allocations: 169.6 kB / 0.7925 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3845, allocations: 0 / 0.7925 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.041e-05/0.3846, allocations: 15.98 kB / 0.7925 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.3846, allocations: 0 / 0.7925 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.3847, allocations: 0 / 0.7925 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3847, allocations: 4 kB / 0.7926 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3847, allocations: 192 / 0.7926 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000416/0.3851, allocations: 235.3 kB / 0.7928 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.421e-05/0.3852, allocations: 81.17 kB / 0.7929 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.3852, allocations: 4.031 kB / 0.7929 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.576e-05/0.3853, allocations: 8.359 kB / 0.7929 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.62e-05/0.3853, allocations: 4 kB / 0.7929 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.3853, allocations: 0 / 0.7929 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.234e-05/0.3854, allocations: 95.2 kB / 0.793 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3854, allocations: 0 / 0.793 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002081/0.3856, allocations: 4 kB / 0.793 GB, free: 6.695 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der1.x) * Number of discrete variables: 0 () * 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 (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.0001513/0.3858, allocations: 107.2 kB / 0.7931 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002456/0.386, allocations: 63.89 kB / 0.7931 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3861, allocations: 0 / 0.7931 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001881/0.3862, allocations: 39.91 kB / 0.7932 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.3866, allocations: 18.31 kB / 0.7932 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004113/0.387, allocations: 194.2 kB / 0.7934 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.3874, allocations: 0.6848 MB / 0.794 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.816e-05/0.3874, allocations: 15.42 kB / 0.794 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of SimCode: time 3.71e-07/0.3874, allocations: 0 / 0.794 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of Templates: time 0.002329/0.3898, allocations: 0.7876 MB / 0.7948 GB, free: 4.73 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.makefile make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.DerivativeCalcHelperMain.o OMCppBuildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.DerivativeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.DerivativeCalcHelperMain.o] Error 1