Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.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.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filPow.PEleDem|filPow.PEle|filPow.assPow.assMesP.u|filPow.assPow.assMesDP.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filPow.PEleDem|filPow.PEle|filPow.assPow.assMesP.u|filPow.assPow.assMesDP.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, 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.001362/0.001362, allocations: 174.6 kB / 16.58 MB, free: 6.008 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.519/1.519, allocations: 223.3 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.719/2.719, allocations: 436.7 MB / 0.7114 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004685/0.0004685, allocations: 20 kB / 0.8717 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7656/0.7661, allocations: 153.7 MB / 1.022 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.003087/0.7692, allocations: 2.274 MB / 1.024 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002399/0.7716, allocations: 1.53 MB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002312/0.7719, allocations: 4 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000628/0.7725, allocations: 223 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003488/0.7729, allocations: 127.4 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005063/0.7734, allocations: 189 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004483/0.7739, allocations: 414.7 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002316/0.7741, allocations: 116 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.7743, allocations: 147.2 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001938/0.7745, allocations: 167.2 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.57e-05/0.7745, allocations: 8 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.7747, allocations: 43.98 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.7748, allocations: 119.5 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.739e-05/0.7749, allocations: 113.4 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004667/0.7754, allocations: 0.5027 MB / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.7754, allocations: 0 / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.704e-06/0.7754, allocations: 0 / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.7754, allocations: 0 / 1.028 GB, free: 11.26 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001247/0.7767, allocations: 0.8289 MB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.7767, allocations: 11.98 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.8e-05/0.7768, allocations: 71.16 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000584/0.7774, allocations: 460 kB / 1.029 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.7775, allocations: 16.38 kB / 1.029 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.014e-05/0.7775, allocations: 27.94 kB / 1.029 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000445/0.778, allocations: 228.2 kB / 1.029 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.778, allocations: 3.984 kB / 1.029 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/0.778, allocations: 12 kB / 1.029 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.778, allocations: 4 kB / 1.029 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003709/0.7784, allocations: 175.3 kB / 1.029 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.7798, allocations: 0.8784 MB / 1.03 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009195/0.7807, allocations: 350.5 kB / 1.03 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.7809, allocations: 96.81 kB / 1.031 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.7809, allocations: 0 / 1.031 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000347/0.7813, allocations: 179.1 kB / 1.031 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.7813, allocations: 0 / 1.031 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0007371/0.782, allocations: 353 kB / 1.031 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.7821, allocations: 77.11 kB / 1.031 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007474/0.7829, allocations: 0.7112 MB / 1.032 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.7829, allocations: 41.64 kB / 1.032 GB, free: 6.562 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/0.7831, allocations: 292.3 kB / 1.032 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.618e-05/0.7832, allocations: 51.28 kB / 1.032 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.726e-05/0.7832, allocations: 8 kB / 1.032 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.7834, allocations: 374.8 kB / 1.033 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/0.7836, allocations: 127.9 kB / 1.033 GB, free: 5.715 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002907/0.7839, allocations: 183 kB / 1.033 GB, free: 5.512 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/0.7842, allocations: 136.3 kB / 1.033 GB, free: 5.379 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.7842, allocations: 3.938 kB / 1.033 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006235/0.7848, allocations: 376.8 kB / 1.033 GB, free: 5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.205e-05/0.7849, allocations: 110.8 kB / 1.033 GB, free: 4.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.7849, allocations: 0 / 1.033 GB, free: 4.879 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.7849, allocations: 7.938 kB / 1.033 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.7852, allocations: 63.89 kB / 1.034 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.7852, allocations: 0 / 1.034 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/0.7854, allocations: 55.81 kB / 1.034 GB, free: 4.754 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.7855, allocations: 8 kB / 1.034 GB, free: 4.746 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.29e-06/0.7855, allocations: 4 kB / 1.034 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004552/0.7859, allocations: 272.1 kB / 1.034 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-06/0.7859, allocations: 0 / 1.034 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.629e-06/0.786, allocations: 4 kB / 1.034 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.7862, allocations: 51.91 kB / 1.034 GB, free: 4.422 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.7862, allocations: 3.984 kB / 1.034 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.7864, allocations: 51.84 kB / 1.034 GB, free: 4.367 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.7864, allocations: 12 kB / 1.034 GB, free: 4.355 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled,filPow.assPow.assMesP.u,filPow.assPow.assMesDP.u,$PRE.filPow.assPow.maxPow.y,filPow.assPow.maxPow.y,$PRE.filPow.assPow.minPow.y,filPow.assPow.minPow.y,filPow.limDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0002796/0.7867, allocations: 293 kB / 1.034 GB, free: 4.059 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.187e-05/0.7868, allocations: 59.25 kB / 1.034 GB, free: 4 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.7869, allocations: 65.72 kB / 1.034 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.7869, allocations: 0 / 1.034 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.7869, allocations: 4 kB / 1.034 GB, free: 3.926 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.7869, allocations: 3.984 kB / 1.034 GB, free: 3.922 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004306/0.7873, allocations: 445.2 kB / 1.035 GB, free: 3.438 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.7873, allocations: 0 / 1.035 GB, free: 3.438 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.7875, allocations: 31.98 kB / 1.035 GB, free: 3.406 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.7875, allocations: 0 / 1.035 GB, free: 3.406 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.7875, allocations: 12.05 kB / 1.035 GB, free: 3.395 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.7875, allocations: 3.938 kB / 1.035 GB, free: 3.391 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.7875, allocations: 3.938 kB / 1.035 GB, free: 3.387 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007279/0.7883, allocations: 410.5 kB / 1.035 GB, free: 2.969 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.7884, allocations: 136.3 kB / 1.035 GB, free: 2.816 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.736e-05/0.7885, allocations: 8 kB / 1.035 GB, free: 2.809 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.7887, allocations: 36.03 kB / 1.035 GB, free: 2.773 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/0.7887, allocations: 23.95 kB / 1.035 GB, free: 2.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.7888, allocations: 12 kB / 1.035 GB, free: 2.738 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0005098/0.7893, allocations: 467 kB / 1.036 GB, free: 2.285 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7893, allocations: 0 / 1.036 GB, free: 2.285 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004683/0.7898, allocations: 139.7 kB / 1.036 GB, free: 2.148 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (filPow.assPow.demRat.x,filPow.dPLim.y) * Number of discrete variables: 7 ($whenCondition1,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled,filPow.assPow.assMesP.u,filPow.assPow.assMesDP.u,filPow.assPow.maxPow.y,filPow.assPow.minPow.y) * Number of discrete states: 4 (filPow.assPow.minPow.y,filPow.assPow.maxPow.y,PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001013/0.7908, allocations: 431.9 kB / 1.036 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007811/0.7916, allocations: 403.8 kB / 1.037 GB, free: 1.484 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.7916, allocations: 0 / 1.037 GB, free: 1.484 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002362/0.7918, allocations: 108 kB / 1.037 GB, free: 1.379 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.7923, allocations: 88.77 kB / 1.037 GB, free: 1.297 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.7939, allocations: 1.159 MB / 1.038 GB, free: 104 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004246/0.7943, allocations: 0.8818 MB / 1.039 GB, free: 15.2 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.973e-05/0.7944, allocations: 35.36 kB / 1.039 GB, free: 15.16 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.7944, allocations: 0 / 1.039 GB, free: 15.16 MB / 0.795 GB Notification: Performance of Templates: time 0.009628/0.8041, allocations: 6.495 MB / 1.045 GB, free: 8.695 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.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.Fluid.CHPs.BaseClasses.Validation.FilterPowerCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPowerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPowerCalcHelperMain.o] Error 1