Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.767/1.767, allocations: 297.4 MB / 312.6 MB, free: 2.941 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 185.2 kB / 382.3 MB, free: 14.83 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 225.7 MB / 0.6617 GB, free: 7.227 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008452/0.0008453, allocations: 98.34 kB / 0.7789 GB, free: 46.96 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003742/0.0003744, allocations: 8 kB / 0.9058 GB, free: 4.938 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7652/0.7656, allocations: 119.2 MB / 1.022 GB, free: 58.04 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.003541/0.7692, allocations: 2.278 MB / 1.024 GB, free: 56.89 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002894/0.7721, allocations: 1.691 MB / 1.026 GB, free: 55.63 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003001/0.7724, allocations: 8.062 kB / 1.026 GB, free: 55.63 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007119/0.7731, allocations: 221.7 kB / 1.026 GB, free: 55.55 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003813/0.7735, allocations: 144.2 kB / 1.027 GB, free: 55.48 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005702/0.7741, allocations: 232.3 kB / 1.027 GB, free: 55.34 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004359/0.7746, allocations: 436.9 kB / 1.027 GB, free: 55.14 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003263/0.7749, allocations: 142.5 kB / 1.027 GB, free: 55.08 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002276/0.7751, allocations: 149.2 kB / 1.027 GB, free: 55.02 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.7754, allocations: 165.6 kB / 1.028 GB, free: 54.95 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.575e-05/0.7754, allocations: 12.69 kB / 1.028 GB, free: 54.95 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001712/0.7756, allocations: 55.56 kB / 1.028 GB, free: 54.93 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001333/0.7758, allocations: 118.9 kB / 1.028 GB, free: 54.88 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001933/0.776, allocations: 239.4 kB / 1.028 GB, free: 54.7 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006244/0.7766, allocations: 0.6086 MB / 1.029 GB, free: 54.49 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.7766, allocations: 2.078 kB / 1.029 GB, free: 54.49 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7766, allocations: 0 / 1.029 GB, free: 54.49 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.7766, allocations: 0 / 1.029 GB, free: 54.49 MB / 0.698 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.001248/0.7779, allocations: 0.8267 MB / 1.029 GB, free: 53.85 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.7779, allocations: 11.59 kB / 1.029 GB, free: 53.85 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.778, allocations: 66 kB / 1.029 GB, free: 53.81 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005661/0.7786, allocations: 489.8 kB / 1.03 GB, free: 53.45 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.7787, allocations: 17.25 kB / 1.03 GB, free: 53.44 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.909e-05/0.7787, allocations: 22.66 kB / 1.03 GB, free: 53.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004815/0.7792, allocations: 222.1 kB / 1.03 GB, free: 53.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.7792, allocations: 2.156 kB / 1.03 GB, free: 53.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.7793, allocations: 10.56 kB / 1.03 GB, free: 53.33 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.7793, allocations: 4.094 kB / 1.03 GB, free: 53.33 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003954/0.7797, allocations: 184.5 kB / 1.03 GB, free: 53.27 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001414/0.7811, allocations: 0.9224 MB / 1.031 GB, free: 52.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006763/0.7818, allocations: 256.4 kB / 1.032 GB, free: 52.62 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.782, allocations: 95.38 kB / 1.032 GB, free: 52.58 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.782, allocations: 2.672 kB / 1.032 GB, free: 52.58 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003403/0.7824, allocations: 171.4 kB / 1.032 GB, free: 52.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.7824, allocations: 0 / 1.032 GB, free: 52.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0007899/0.7832, allocations: 343.8 kB / 1.032 GB, free: 52.35 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/0.7833, allocations: 81.05 kB / 1.032 GB, free: 52.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008235/0.7841, allocations: 0.7097 MB / 1.033 GB, free: 51.96 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.7841, allocations: 37.2 kB / 1.033 GB, free: 51.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.7844, allocations: 289.9 kB / 1.033 GB, free: 51.69 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.515e-05/0.7844, allocations: 50.08 kB / 1.033 GB, free: 51.66 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.465e-05/0.7844, allocations: 4 kB / 1.033 GB, free: 51.65 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.7846, allocations: 375.7 kB / 1.034 GB, free: 51.31 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000245/0.7848, allocations: 124.6 kB / 1.034 GB, free: 51.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.7851, allocations: 180.3 kB / 1.034 GB, free: 51.18 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003865/0.7855, allocations: 225.7 kB / 1.034 GB, free: 51.09 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.7855, allocations: 0 / 1.034 GB, free: 51.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006025/0.7861, allocations: 377.3 kB / 1.034 GB, free: 50.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.658e-05/0.7862, allocations: 110.1 kB / 1.035 GB, free: 50.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.7862, allocations: 5.906 kB / 1.035 GB, free: 50.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.7862, allocations: 6 kB / 1.035 GB, free: 50.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/0.7864, allocations: 63.58 kB / 1.035 GB, free: 50.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.7865, allocations: 5.766 kB / 1.035 GB, free: 50.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.7867, allocations: 56.17 kB / 1.035 GB, free: 50.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/0.7867, allocations: 9.375 kB / 1.035 GB, free: 50.79 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.252e-06/0.7868, allocations: 6.719 kB / 1.035 GB, free: 50.78 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004325/0.7872, allocations: 256.5 kB / 1.035 GB, free: 50.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-06/0.7872, allocations: 0 / 1.035 GB, free: 50.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-06/0.7872, allocations: 2.812 kB / 1.035 GB, free: 50.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.7874, allocations: 55.55 kB / 1.035 GB, free: 50.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.7874, allocations: 6.938 kB / 1.035 GB, free: 50.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.7876, allocations: 43.86 kB / 1.035 GB, free: 50.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.7877, allocations: 12.16 kB / 1.035 GB, free: 50.67 MB / 0.698 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 (30): * Single equations (assignments): 30 * 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.0002233/0.7879, allocations: 305.5 kB / 1.035 GB, free: 50.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.658e-05/0.788, allocations: 59.44 kB / 1.035 GB, free: 50.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001252/0.7881, allocations: 63.5 kB / 1.035 GB, free: 50.37 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.7881, allocations: 5.969 kB / 1.035 GB, free: 50.36 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.7881, allocations: 0 / 1.035 GB, free: 50.36 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.7881, allocations: 3.812 kB / 1.035 GB, free: 50.36 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000544/0.7887, allocations: 434.4 kB / 1.036 GB, free: 50.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.7887, allocations: 0 / 1.036 GB, free: 50.08 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.7888, allocations: 30.5 kB / 1.036 GB, free: 50.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.7889, allocations: 0 / 1.036 GB, free: 50.07 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/0.7889, allocations: 10.25 kB / 1.036 GB, free: 50.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.7889, allocations: 3.938 kB / 1.036 GB, free: 50.07 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.7889, allocations: 0 / 1.036 GB, free: 50.07 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008374/0.7897, allocations: 402.6 kB / 1.036 GB, free: 49.88 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.7899, allocations: 141.2 kB / 1.036 GB, free: 49.75 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.297e-05/0.79, allocations: 8.344 kB / 1.036 GB, free: 49.74 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.7902, allocations: 34.56 kB / 1.037 GB, free: 49.74 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.126e-05/0.7903, allocations: 22.86 kB / 1.037 GB, free: 49.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.7903, allocations: 10.59 kB / 1.037 GB, free: 49.73 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005758/0.7909, allocations: 466.5 kB / 1.037 GB, free: 49.54 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.21e-07/0.7909, allocations: 4 kB / 1.037 GB, free: 49.54 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005273/0.7914, allocations: 138.6 kB / 1.037 GB, free: 49.5 MB / 0.698 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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001298/0.7927, allocations: 496.2 kB / 1.038 GB, free: 49.25 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009305/0.7937, allocations: 401.1 kB / 1.038 GB, free: 49.14 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.7937, allocations: 0.9375 kB / 1.038 GB, free: 49.14 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002295/0.7939, allocations: 103.3 kB / 1.038 GB, free: 49.11 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005188/0.7945, allocations: 90.17 kB / 1.038 GB, free: 49.08 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.7961, allocations: 1.159 MB / 1.039 GB, free: 48.42 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003946/0.7965, allocations: 0.8807 MB / 1.04 GB, free: 47.71 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002184/0.7967, allocations: 68.38 kB / 1.04 GB, free: 47.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.192e-05/0.7968, allocations: 36.45 kB / 1.04 GB, free: 47.68 MB / 0.698 GB Notification: Performance of SimCode: time 4.01e-07/0.7969, allocations: 0 / 1.04 GB, free: 47.68 MB / 0.698 GB Notification: Performance of Templates: time 0.01031/0.8072, allocations: 4.652 MB / 1.045 GB, free: 47.38 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1)