Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.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_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008416/0.0008417, allocations: 99.12 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.0008975/0.0008974, allocations: 176.3 kB / 16.58 MB, free: 6.422 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.635/1.635, allocations: 205.4 MB / 222.8 MB, free: 5.625 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.836/1.836, allocations: 292.7 MB / 0.5505 GB, free: 14.55 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.0005542/0.0005542, allocations: 23.16 kB / 0.6744 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3351, allocations: 116.3 MB / 0.7879 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.002478/0.3376, allocations: 1.626 MB / 0.7895 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.3388, allocations: 0.6596 MB / 0.7902 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.88e-05/0.3389, allocations: 7.938 kB / 0.7902 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.416e-05/0.339, allocations: 11.88 kB / 0.7902 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.3391, allocations: 35.69 kB / 0.7902 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004164/0.3395, allocations: 119.7 kB / 0.7903 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003916/0.3399, allocations: 287.2 kB / 0.7906 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.3402, allocations: 36.39 kB / 0.7906 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002229/0.3404, allocations: 111.7 kB / 0.7908 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002566/0.3407, allocations: 127.5 kB / 0.7909 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.463e-05/0.3407, allocations: 16 kB / 0.7909 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.612e-05/0.3408, allocations: 16 kB / 0.7909 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.366e-05/0.3408, allocations: 63.78 kB / 0.791 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.509e-05/0.3409, allocations: 61.58 kB / 0.791 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.3412, allocations: 211.7 kB / 0.7912 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3412, allocations: 4 kB / 0.7912 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3412, allocations: 0 / 0.7912 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.3412, allocations: 0 / 0.7912 GB, free: 8.523 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.001179/0.3424, allocations: 0.608 MB / 0.7918 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.3425, allocations: 12.03 kB / 0.7918 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.457e-05/0.3426, allocations: 31.7 kB / 0.7919 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.3427, allocations: 203.5 kB / 0.7921 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002637/0.343, allocations: 259.8 kB / 0.7923 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.291e-05/0.3431, allocations: 35.89 kB / 0.7923 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005164/0.3436, allocations: 265.7 kB / 0.7926 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.3436, allocations: 3.984 kB / 0.7926 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.085e-05/0.3437, allocations: 12 kB / 0.7926 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.3437, allocations: 4 kB / 0.7926 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004194/0.3441, allocations: 188.5 kB / 0.7928 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.3453, allocations: 0.7817 MB / 0.7936 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004794/0.3458, allocations: 212.3 kB / 0.7938 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002688/0.3461, allocations: 145.3 kB / 0.7939 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.433e-05/0.3461, allocations: 8.125 kB / 0.7939 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005913/0.3467, allocations: 319.4 kB / 0.7942 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 1.923e-06/0.3467, allocations: 0 / 0.7942 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.001061/0.3478, allocations: 496.6 kB / 0.7947 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001686/0.348, allocations: 118.8 kB / 0.7948 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.3482, allocations: 180.5 kB / 0.795 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001266/0.3483, allocations: 37.7 kB / 0.795 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.245e-05/0.3484, allocations: 117.2 kB / 0.7951 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.3485, allocations: 153.9 kB / 0.7953 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.306e-05/0.3486, allocations: 8 kB / 0.7953 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002421/0.3488, allocations: 342.8 kB / 0.7956 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003083/0.3491, allocations: 153.2 kB / 0.7957 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003816/0.3495, allocations: 256.7 kB / 0.796 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003303/0.3499, allocations: 168 kB / 0.7961 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.3499, allocations: 7.938 kB / 0.7962 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008679/0.3507, allocations: 492.9 kB / 0.7966 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.3508, allocations: 7.953 kB / 0.7966 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.3508, allocations: 4 kB / 0.7966 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/0.3508, allocations: 8 kB / 0.7966 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004673/0.3513, allocations: 107.8 kB / 0.7967 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.3513, allocations: 7.938 kB / 0.7968 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/0.3516, allocations: 67.66 kB / 0.7968 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.339e-05/0.3516, allocations: 20 kB / 0.7968 GB, free: 2.402 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 ($whenCondition5,$PRE.movingMean_1.mode,movingMean_1.mode,$whenCondition6,$PRE.movingMean_2.mode,movingMean_2.mode,$whenCondition7,$PRE.movingMean_3.mode,movingMean_3.mode,$whenCondition8,$PRE.movingMean_4.mode,movingMean_4.mode,$whenCondition9,$PRE.movingMean_5.mode,movingMean_5.mode,$whenCondition3,$PRE.movingMean_6.mode,movingMean_6.mode,$whenCondition4,$PRE.movingMean_7.mode,movingMean_7.mode,$whenCondition1,$PRE.movingMean_8.mode,movingMean_8.mode,$whenCondition2,$PRE.movingMean_9.mode,movingMean_9.mode) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002927/0.3519, allocations: 163.9 kB / 0.797 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.206e-05/0.352, allocations: 23.72 kB / 0.797 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.203e-05/0.3521, allocations: 37.83 kB / 0.7971 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.3521, allocations: 4.094 kB / 0.7971 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.3521, allocations: 0 / 0.7971 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.3521, allocations: 7.969 kB / 0.7971 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004271/0.3525, allocations: 361.2 kB / 0.7974 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.3526, allocations: 4 kB / 0.7974 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003796/0.3529, allocations: 71.89 kB / 0.7975 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.353, allocations: 4 kB / 0.7975 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.673e-05/0.353, allocations: 12 kB / 0.7975 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/0.353, allocations: 7.953 kB / 0.7975 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.353, allocations: 0 / 0.7975 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.3541, allocations: 0.6018 MB / 0.7981 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.715e-05/0.3542, allocations: 100.8 kB / 0.7982 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.038e-05/0.3543, allocations: 11.98 kB / 0.7982 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.3545, allocations: 39.97 kB / 0.7982 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.3546, allocations: 47.95 kB / 0.7983 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/0.3546, allocations: 20 kB / 0.7983 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000109/0.3548, allocations: 129.1 kB / 0.7984 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3548, allocations: 0 / 0.7984 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003214/0.3551, allocations: 83.91 kB / 0.7985 GB, free: 0.5938 MB / 0.6075 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 (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.0002787/0.3554, allocations: 115.5 kB / 0.7986 GB, free: 484 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008209/0.3562, allocations: 396.9 kB / 0.799 GB, free: 88 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3562, allocations: 3.938 kB / 0.799 GB, free: 84 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003817/0.3566, allocations: 187.8 kB / 0.7992 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.357, allocations: 48.47 kB / 0.7992 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.3581, allocations: 0.7308 MB / 0.7999 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/0.3586, allocations: 0.7647 MB / 0.8007 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.3588, allocations: 31.44 kB / 0.8007 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of SimCode: time 2.51e-07/0.3588, allocations: 0 / 0.8007 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of Templates: time 0.007214/0.366, allocations: 3.934 MB / 0.8046 GB, free: 10.35 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.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_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStartCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStartCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStartCalcHelperMain.o] Error 1