Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.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.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008964/0.0008965, allocations: 99.34 kB / 16.02 MB, free: 76 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.001152/0.001152, allocations: 185 kB / 16.92 MB, free: 6.75 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.971/1.971, allocations: 205.4 MB / 223.1 MB, free: 5.777 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 2.011/2.011, allocations: 292.7 MB / 0.5509 GB, free: 14.48 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.0006997/0.0006997, allocations: 18.59 kB / 0.675 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3357, allocations: 116.3 MB / 0.7886 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.002632/0.3384, allocations: 1.668 MB / 0.7902 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.3397, allocations: 0.6749 MB / 0.7909 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.296e-05/0.3398, allocations: 4 kB / 0.7909 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.177e-05/0.3399, allocations: 11.86 kB / 0.7909 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.34, allocations: 35.7 kB / 0.7909 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004755/0.3405, allocations: 123.8 kB / 0.791 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003196/0.3408, allocations: 315.1 kB / 0.7913 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.341, allocations: 40.39 kB / 0.7914 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.3412, allocations: 115.6 kB / 0.7915 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.3414, allocations: 139.4 kB / 0.7916 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.064e-05/0.3415, allocations: 16 kB / 0.7916 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.397e-05/0.3415, allocations: 12 kB / 0.7916 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.157e-05/0.3416, allocations: 55.8 kB / 0.7917 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.3417, allocations: 149.1 kB / 0.7918 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.3419, allocations: 203.7 kB / 0.792 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.342, allocations: 0 / 0.792 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.084e-06/0.342, allocations: 0 / 0.792 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.342, allocations: 4 kB / 0.792 GB, free: 7.992 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001218/0.3432, allocations: 0.6082 MB / 0.7926 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.3433, allocations: 8.031 kB / 0.7926 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.154e-05/0.3434, allocations: 32.66 kB / 0.7927 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.3436, allocations: 200.8 kB / 0.7928 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003195/0.3439, allocations: 272.2 kB / 0.7931 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.262e-05/0.344, allocations: 36.28 kB / 0.7931 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005941/0.3446, allocations: 269.8 kB / 0.7934 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.3446, allocations: 0 / 0.7934 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/0.3446, allocations: 12 kB / 0.7934 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.3447, allocations: 4 kB / 0.7934 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000647/0.3453, allocations: 187.8 kB / 0.7936 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.3465, allocations: 0.7814 MB / 0.7944 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005217/0.3471, allocations: 211.7 kB / 0.7946 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002719/0.3473, allocations: 138.5 kB / 0.7947 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.867e-05/0.3474, allocations: 15.97 kB / 0.7947 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006314/0.348, allocations: 315.6 kB / 0.795 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 1.884e-06/0.348, allocations: 0 / 0.795 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.001206/0.3493, allocations: 0.4942 MB / 0.7955 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.972e-05/0.3494, allocations: 118.8 kB / 0.7956 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.3496, allocations: 176.6 kB / 0.7958 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.478e-05/0.3496, allocations: 41.69 kB / 0.7958 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.547e-05/0.3497, allocations: 117.2 kB / 0.7959 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.3498, allocations: 146 kB / 0.7961 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.785e-05/0.3499, allocations: 57.69 kB / 0.7961 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.3501, allocations: 346.8 kB / 0.7964 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003072/0.3504, allocations: 153.2 kB / 0.7966 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000379/0.3508, allocations: 264.9 kB / 0.7968 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006899/0.3515, allocations: 410 kB / 0.7972 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.3515, allocations: 4 kB / 0.7972 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009741/0.3525, allocations: 0.4931 MB / 0.7977 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.3525, allocations: 4 kB / 0.7977 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.3525, allocations: 7.984 kB / 0.7977 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.3526, allocations: 4 kB / 0.7977 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003814/0.353, allocations: 99.83 kB / 0.7978 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/0.353, allocations: 4 kB / 0.7978 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000286/0.3533, allocations: 71.59 kB / 0.7979 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-05/0.3533, allocations: 24 kB / 0.7979 GB, free: 1.527 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 27 (movingMean_1.mode,$PRE.movingMean_1.mode,$whenCondition5,movingMean_2.mode,$PRE.movingMean_2.mode,$whenCondition6,movingMean_3.mode,$PRE.movingMean_3.mode,$whenCondition7,movingMean_4.mode,$PRE.movingMean_4.mode,$whenCondition8,movingMean_5.mode,$PRE.movingMean_5.mode,$whenCondition9,movingMean_6.mode,$PRE.movingMean_6.mode,$whenCondition3,movingMean_7.mode,$PRE.movingMean_7.mode,$whenCondition4,movingMean_8.mode,$PRE.movingMean_8.mode,$whenCondition1,movingMean_9.mode,$PRE.movingMean_9.mode,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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 0.000184/0.3535, allocations: 160 kB / 0.7981 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.825e-05/0.3536, allocations: 35.59 kB / 0.7981 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.591e-05/0.3536, allocations: 29.88 kB / 0.7981 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.3537, allocations: 8 kB / 0.7981 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.3537, allocations: 3.984 kB / 0.7982 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.3537, allocations: 4 kB / 0.7982 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004694/0.3542, allocations: 353.2 kB / 0.7985 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3542, allocations: 4 kB / 0.7985 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003988/0.3546, allocations: 79.83 kB / 0.7986 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/0.3546, allocations: 4 kB / 0.7986 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.534e-05/0.3546, allocations: 8 kB / 0.7986 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.3546, allocations: 7.938 kB / 0.7986 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.3547, allocations: 4 kB / 0.7986 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.3558, allocations: 0.6018 MB / 0.7992 GB, free: 160 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.17e-05/0.3559, allocations: 112.8 kB / 0.7993 GB, free: 28 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.731e-05/0.3559, allocations: 12 kB / 0.7993 GB, free: 16 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.3562, allocations: 47.91 kB / 0.7993 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.3563, allocations: 39.94 kB / 0.7994 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/0.3563, allocations: 19.98 kB / 0.7994 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001863/0.3565, allocations: 125.2 kB / 0.7995 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3565, allocations: 0 / 0.7995 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003139/0.3569, allocations: 76 kB / 0.7996 GB, free: 15.71 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movingMean_1.mu,movingMean_2.mu,movingMean_3.mu,movingMean_4.mu,movingMean_5.mu,movingMean_6.mu,movingMean_7.mu,movingMean_8.mu,movingMean_9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movingMean_1.mode,movingMean_2.mode,movingMean_3.mode,movingMean_4.mode,movingMean_5.mode,$whenCondition4,$whenCondition3,movingMean_6.mode,movingMean_7.mode,$whenCondition2,$whenCondition1,movingMean_8.mode,movingMean_9.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0002715/0.3571, allocations: 127.2 kB / 0.7997 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008557/0.358, allocations: 399.9 kB / 0.8001 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.358, allocations: 4 kB / 0.8001 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003532/0.3584, allocations: 183.8 kB / 0.8003 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.3588, allocations: 43.91 kB / 0.8003 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.36, allocations: 0.7542 MB / 0.8011 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/0.3605, allocations: 0.7647 MB / 0.8018 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.3607, allocations: 31.44 kB / 0.8018 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of SimCode: time 5.81e-07/0.3607, allocations: 0 / 0.8018 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of Templates: time 0.006367/0.367, allocations: 3.939 MB / 0.8057 GB, free: 9.43 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.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.Controls.OBC.CDL.Continuous.Validation.MovingMeanCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMeanCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMeanCalcHelperMain.o] Error 1