Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.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.Discrete.Validation.TriggeredMovingMean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|triMovMea.u|triMovMea.y|triMovMea1.y|booPul.y|triMovMea2.y|booPul1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|triMovMea.u|triMovMea.y|triMovMea1.y|booPul.y|triMovMea2.y|booPul1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008284/0.0008284, allocations: 102.6 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.0009117/0.0009118, allocations: 175.6 kB / 16.58 MB, free: 6.402 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.461/1.461, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.791/2.791, allocations: 436.7 MB / 0.7113 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.0003651, allocations: 8 kB / 0.8717 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8012/0.8015, allocations: 153.7 MB / 1.022 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.001116/0.8027, allocations: 0.5636 MB / 1.022 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001724/0.8044, allocations: 1.28 MB / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.137e-05/0.8045, allocations: 0 / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.966e-05/0.8046, allocations: 15.8 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.8048, allocations: 31.83 kB / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006431/0.8054, allocations: 236.3 kB / 1.024 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002337/0.8057, allocations: 239.4 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.8058, allocations: 21.11 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.806, allocations: 111.7 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.8062, allocations: 103.7 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.078e-05/0.8062, allocations: 12 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.644e-05/0.8063, allocations: 27.97 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.303e-05/0.8064, allocations: 27.91 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.475e-05/0.8065, allocations: 57.64 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.8067, allocations: 177.5 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.8067, allocations: 4 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8067, allocations: 0 / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.8067, allocations: 0 / 1.025 GB, free: 14.22 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007897/0.8075, allocations: 0.4947 MB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.8075, allocations: 11.98 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.533e-05/0.8076, allocations: 27.81 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/0.8079, allocations: 226.8 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.561e-05/0.808, allocations: 15.98 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.575e-05/0.808, allocations: 16 kB / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003567/0.8084, allocations: 205.9 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.8084, allocations: 0 / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.8084, allocations: 7.984 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.8085, allocations: 0 / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002015/0.8087, allocations: 97.8 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006775/0.8093, allocations: 476.7 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.8096, allocations: 142.6 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.8098, allocations: 97 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.8098, allocations: 0 / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003358/0.8101, allocations: 203.9 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=28): time 1.663e-06/0.8102, allocations: 0 / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28): time 0.0008271/0.811, allocations: 458.6 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.688e-05/0.8111, allocations: 59.41 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.8112, allocations: 143.6 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.872e-05/0.8112, allocations: 41.64 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.225e-05/0.8113, allocations: 108.6 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.879e-05/0.8114, allocations: 67.23 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.8114, allocations: 15.94 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.8116, allocations: 330.8 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002794/0.8119, allocations: 148.7 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003391/0.8122, allocations: 209.2 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003259/0.8126, allocations: 216.3 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.8126, allocations: 4 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008102/0.8134, allocations: 498.5 kB / 1.029 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.018e-05/0.8135, allocations: 67.39 kB / 1.029 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.8135, allocations: 0 / 1.029 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.8135, allocations: 4 kB / 1.029 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.8138, allocations: 55.91 kB / 1.029 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.8138, allocations: 4 kB / 1.029 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003816/0.8142, allocations: 109.3 kB / 1.029 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.153e-05/0.8142, allocations: 23.98 kB / 1.029 GB, free: 9.43 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 42 ($whenCondition5,$whenCondition6,$whenCondition4,$PRE.booPul1.y,booPul1.y,$whenCondition3,$PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2,triMovMea.y,$PRE.triMovMea.iSample,triMovMea.iSample,$PRE.triMovMea.counter,triMovMea.counter,triMovMea.index,$PRE.triMovMea.ySample[1],triMovMea.ySample[1],$PRE.triMovMea.ySample[2],triMovMea.ySample[2],$PRE.triMovMea.ySample[3],triMovMea.ySample[3],triMovMea1.y,$PRE.triMovMea1.iSample,triMovMea1.iSample,$PRE.triMovMea1.counter,triMovMea1.counter,triMovMea1.index,$PRE.triMovMea1.ySample[1],triMovMea1.ySample[1],triMovMea2.y,$PRE.triMovMea2.iSample,triMovMea2.iSample,$PRE.triMovMea2.counter,triMovMea2.counter,triMovMea2.index,$PRE.triMovMea2.ySample[1],triMovMea2.ySample[1],$PRE.triMovMea2.ySample[2],triMovMea2.ySample[2],$PRE.triMovMea2.ySample[3],triMovMea2.ySample[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 35 * Array equations: 2 * Algorithm blocks: 2 * 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.0001688/0.8144, allocations: 161.7 kB / 1.029 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.8144, allocations: 19.8 kB / 1.029 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.38e-05/0.8145, allocations: 13.88 kB / 1.029 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.8145, allocations: 8.078 kB / 1.029 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.8145, allocations: 0 / 1.029 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.8145, allocations: 4 kB / 1.029 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008239/0.8154, allocations: 0.6668 MB / 1.03 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.8154, allocations: 3.984 kB / 1.03 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.286e-05/0.8154, allocations: 7.938 kB / 1.03 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.8154, allocations: 0 / 1.03 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.8155, allocations: 7.984 kB / 1.03 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.8155, allocations: 4 kB / 1.03 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.8155, allocations: 7.984 kB / 1.03 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006009/0.8161, allocations: 463.2 kB / 1.03 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.985e-05/0.8161, allocations: 88.92 kB / 1.03 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.095e-05/0.8162, allocations: 15.98 kB / 1.03 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.8163, allocations: 11.98 kB / 1.03 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.8164, allocations: 15.98 kB / 1.03 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.844e-05/0.8164, allocations: 19.98 kB / 1.03 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.64e-05/0.8165, allocations: 104 kB / 1.031 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8165, allocations: 0 / 1.031 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003328/0.8168, allocations: 67.84 kB / 1.031 GB, free: 7.66 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: 27 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triMovMea.y,triMovMea.iSample,triMovMea.counter,triMovMea.index,triMovMea.ySample[1],triMovMea.ySample[2],triMovMea.ySample[3],triMovMea1.y,triMovMea1.iSample,triMovMea1.counter,triMovMea1.index,triMovMea1.ySample[1],triMovMea2.y,triMovMea2.iSample,triMovMea2.counter,triMovMea2.index,triMovMea2.ySample[1],triMovMea2.ySample[2],triMovMea2.ySample[3],booPul1.y) * Number of discrete states: 13 (triMovMea2.iSample,triMovMea2.ySample[1],triMovMea2.ySample[2],triMovMea2.ySample[3],triMovMea2.counter,triMovMea.iSample,triMovMea.counter,triMovMea.ySample[1],triMovMea.ySample[2],triMovMea.ySample[3],triMovMea1.iSample,triMovMea1.counter,triMovMea1.ySample[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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.0002624/0.8171, allocations: 137.4 kB / 1.031 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007094/0.8178, allocations: 450.4 kB / 1.031 GB, free: 7.051 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.8178, allocations: 7.938 kB / 1.031 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002155/0.8181, allocations: 128.8 kB / 1.031 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.8184, allocations: 27.92 kB / 1.031 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006059/0.819, allocations: 373.1 kB / 1.032 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.8194, allocations: 0.7167 MB / 1.032 GB, free: 5.758 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.223e-05/0.8194, allocations: 23.44 kB / 1.032 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.8194, allocations: 0 / 1.032 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of Templates: time 0.005235/0.8247, allocations: 3.036 MB / 1.035 GB, free: 2.723 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.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.Discrete.Validation.TriggeredMovingMeanCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMeanCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMeanCalcHelperMain.o] Error 1