Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_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 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.Continuous.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sinInpNoDel.y|movAve1.y|movAve2.y|movAve3.y|movAve4.y|sinInp50sDel.y|movAve6.y|movAve7.y|sinInp100sDel.y|movAve8.y|movAve9.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sinInpNoDel.y|movAve1.y|movAve2.y|movAve3.y|movAve4.y|sinInp50sDel.y|movAve6.y|movAve7.y|sinInp100sDel.y|movAve8.y|movAve9.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008746/0.0008741, allocations: 103 kB / 15.71 MB, free: 460 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.00108/0.00108, allocations: 179.3 kB / 16.58 MB, free: 6.109 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.445/1.445, allocations: 223.2 MB / 240.6 MB, free: 5.305 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.64/2.64, allocations: 390.4 MB / 0.6662 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003653, allocations: 12 kB / 0.8154 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8165/0.8168, allocations: 142.3 MB / 0.9544 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart): time 0.001861/0.8187, allocations: 1.611 MB / 0.956 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008704/0.8196, allocations: 0.6144 MB / 0.9566 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.36e-05/0.8197, allocations: 1.938 kB / 0.9566 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.679e-05/0.8198, allocations: 15.8 kB / 0.9566 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.8199, allocations: 32.2 kB / 0.9567 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.8202, allocations: 130.9 kB / 0.9568 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002587/0.8205, allocations: 285.9 kB / 0.9571 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.8206, allocations: 42.97 kB / 0.9571 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.8208, allocations: 106.2 kB / 0.9572 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.8209, allocations: 137.8 kB / 0.9573 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.405e-05/0.821, allocations: 15.25 kB / 0.9573 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.759e-05/0.821, allocations: 14.72 kB / 0.9574 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.943e-05/0.8211, allocations: 56.05 kB / 0.9574 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.831e-05/0.8212, allocations: 68.08 kB / 0.9575 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.8213, allocations: 203.7 kB / 0.9577 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.8213, allocations: 1.219 kB / 0.9577 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.874e-06/0.8213, allocations: 0 / 0.9577 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.8213, allocations: 0 / 0.9577 GB, free: 5.625 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0009767/0.8223, allocations: 0.6167 MB / 0.9583 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.8224, allocations: 9 kB / 0.9583 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.96e-05/0.8224, allocations: 33.64 kB / 0.9583 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.691e-05/0.8225, allocations: 197.6 kB / 0.9585 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.8227, allocations: 266.5 kB / 0.9588 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.331e-05/0.8228, allocations: 29.88 kB / 0.9588 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004342/0.8232, allocations: 268.5 kB / 0.959 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.8232, allocations: 5.125 kB / 0.9591 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.8233, allocations: 7.438 kB / 0.9591 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.934e-06/0.8233, allocations: 4.5 kB / 0.9591 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003864/0.8237, allocations: 197.1 kB / 0.9593 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008893/0.8246, allocations: 0.7879 MB / 0.96 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004177/0.825, allocations: 210.5 kB / 0.9602 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.8252, allocations: 132.9 kB / 0.9603 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.39e-05/0.8253, allocations: 11.05 kB / 0.9604 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004789/0.8258, allocations: 325.6 kB / 0.9607 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=48): time 2.405e-06/0.8258, allocations: 0 / 0.9607 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=48): time 0.000989/0.8268, allocations: 496.7 kB / 0.9611 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.8268, allocations: 113.9 kB / 0.9613 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.827, allocations: 183.8 kB / 0.9614 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.827, allocations: 37.86 kB / 0.9615 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.971e-05/0.827, allocations: 120.2 kB / 0.9616 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.877e-05/0.8271, allocations: 148.8 kB / 0.9617 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/0.8272, allocations: 14.78 kB / 0.9617 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.452e-05/0.8272, allocations: 342 kB / 0.9621 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/0.8275, allocations: 147.9 kB / 0.9622 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003402/0.8279, allocations: 254.3 kB / 0.9624 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003177/0.8282, allocations: 171.3 kB / 0.9626 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.8282, allocations: 5.672 kB / 0.9626 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00084/0.8291, allocations: 0.4967 MB / 0.9631 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.8291, allocations: 6.531 kB / 0.9631 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.8291, allocations: 3.562 kB / 0.9631 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.8291, allocations: 5.844 kB / 0.9631 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003742/0.8295, allocations: 96.48 kB / 0.9632 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.8296, allocations: 5.938 kB / 0.9632 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/0.8298, allocations: 71.83 kB / 0.9633 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-05/0.8299, allocations: 23.84 kB / 0.9633 GB, free: 1.336 MB / 0.7169 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.movAve1.mode,movAve1.mode,$whenCondition6,$PRE.movAve2.mode,movAve2.mode,$whenCondition7,$PRE.movAve3.mode,movAve3.mode,$whenCondition8,$PRE.movAve4.mode,movAve4.mode,$whenCondition9,$PRE.movAve5.mode,movAve5.mode,$whenCondition3,$PRE.movAve6.mode,movAve6.mode,$whenCondition4,$PRE.movAve7.mode,movAve7.mode,$whenCondition1,$PRE.movAve8.mode,movAve8.mode,$whenCondition2,$PRE.movAve9.mode,movAve9.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.0001449/0.83, allocations: 160.3 kB / 0.9635 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/0.8301, allocations: 27.89 kB / 0.9635 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.466e-05/0.8301, allocations: 34.73 kB / 0.9635 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.8301, allocations: 5.875 kB / 0.9635 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.8302, allocations: 1.312 kB / 0.9635 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.8302, allocations: 3.984 kB / 0.9635 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.8305, allocations: 353.5 kB / 0.9639 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.8305, allocations: 1.344 kB / 0.9639 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003798/0.8309, allocations: 85.94 kB / 0.9639 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.8309, allocations: 2.094 kB / 0.9639 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.138e-05/0.8309, allocations: 13.17 kB / 0.964 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.8309, allocations: 6.344 kB / 0.964 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.8309, allocations: 1.219 kB / 0.964 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009426/0.8319, allocations: 0.594 MB / 0.9645 GB, free: 456 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-05/0.8319, allocations: 106.2 kB / 0.9646 GB, free: 340 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.862e-05/0.832, allocations: 15.14 kB / 0.9647 GB, free: 328 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.8322, allocations: 50.67 kB / 0.9647 GB, free: 304 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.286e-05/0.8323, allocations: 36.86 kB / 0.9647 GB, free: 284 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.128e-05/0.8324, allocations: 18.33 kB / 0.9648 GB, free: 276 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.74e-05/0.8324, allocations: 124.1 kB / 0.9649 GB, free: 176 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8324, allocations: 0.75 kB / 0.9649 GB, free: 176 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003624/0.8328, allocations: 82.64 kB / 0.965 GB, free: 156 kB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movAve1.mu,movAve2.mu,movAve3.mu,movAve4.mu,movAve5.mu,movAve6.mu,movAve7.mu,movAve8.mu,movAve9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movAve1.mode,movAve2.mode,movAve3.mode,movAve4.mode,movAve5.mode,$whenCondition4,$whenCondition3,movAve6.mode,movAve7.mode,$whenCondition2,$whenCondition1,movAve8.mode,movAve9.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.0001688/0.833, allocations: 122.5 kB / 0.9651 GB, free: 56 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008257/0.8338, allocations: 395.6 kB / 0.9655 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.8338, allocations: 0 / 0.9655 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003776/0.8342, allocations: 187.8 kB / 0.9656 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.8346, allocations: 41.75 kB / 0.9657 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.8359, allocations: 0.7358 MB / 0.9664 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.8363, allocations: 0.7615 MB / 0.9671 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.8364, allocations: 34.05 kB / 0.9672 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of SimCode: time 2.8e-07/0.8364, allocations: 1.031 kB / 0.9672 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.00718/0.8436, allocations: 3.918 MB / 0.971 GB, free: 12.47 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStartCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStartCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStartCalcHelperMain.o] Error 1