Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.988/1.988, allocations: 306.1 MB / 321.4 MB, free: 10.73 MB / 250.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.00108/0.00108, allocations: 179.5 kB / 393.1 MB, free: 4.059 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.563/1.563, allocations: 225.7 MB / 0.6743 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009324/0.0009331, allocations: 103.6 kB / 0.7935 GB, free: 40.03 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003867/0.0003867, allocations: 8.656 kB / 0.9224 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7444/0.7448, allocations: 121.3 MB / 1.041 GB, free: 58.55 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.003561/0.7484, allocations: 2.274 MB / 1.043 GB, free: 57 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002953/0.7514, allocations: 1.687 MB / 1.045 GB, free: 55.74 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003022/0.7517, allocations: 3.844 kB / 1.045 GB, free: 55.74 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007534/0.7525, allocations: 232.1 kB / 1.045 GB, free: 55.65 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004017/0.7529, allocations: 149.1 kB / 1.045 GB, free: 55.58 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006179/0.7535, allocations: 220.5 kB / 1.045 GB, free: 55.45 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004913/0.754, allocations: 449.6 kB / 1.046 GB, free: 55.23 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003149/0.7544, allocations: 140.2 kB / 1.046 GB, free: 55.18 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.7546, allocations: 150.4 kB / 1.046 GB, free: 55.11 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.7548, allocations: 170.7 kB / 1.046 GB, free: 55.04 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.727e-05/0.7549, allocations: 8.031 kB / 1.046 GB, free: 55.04 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.755, allocations: 44.58 kB / 1.046 GB, free: 55.04 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.7552, allocations: 123.2 kB / 1.046 GB, free: 54.98 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.7554, allocations: 233.6 kB / 1.047 GB, free: 54.8 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006731/0.7561, allocations: 0.6192 MB / 1.047 GB, free: 54.59 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.7561, allocations: 0 / 1.047 GB, free: 54.59 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7561, allocations: 0.7812 kB / 1.047 GB, free: 54.59 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.7561, allocations: 0 / 1.047 GB, free: 54.59 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.001333/0.7574, allocations: 0.8195 MB / 1.048 GB, free: 53.96 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.7575, allocations: 13.88 kB / 1.048 GB, free: 53.95 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.7576, allocations: 72.28 kB / 1.048 GB, free: 53.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006199/0.7583, allocations: 479.9 kB / 1.049 GB, free: 53.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.398e-05/0.7583, allocations: 13.84 kB / 1.049 GB, free: 53.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.709e-05/0.7584, allocations: 26.16 kB / 1.049 GB, free: 53.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005076/0.7589, allocations: 229.1 kB / 1.049 GB, free: 53.44 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.7589, allocations: 1.094 kB / 1.049 GB, free: 53.44 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.7589, allocations: 7.734 kB / 1.049 GB, free: 53.44 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.455e-06/0.759, allocations: 3.062 kB / 1.049 GB, free: 53.44 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003782/0.7593, allocations: 175.6 kB / 1.049 GB, free: 53.39 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/0.7608, allocations: 0.9367 MB / 1.05 GB, free: 52.81 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006892/0.7615, allocations: 255.3 kB / 1.05 GB, free: 52.72 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.7617, allocations: 100.7 kB / 1.05 GB, free: 52.68 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.679e-05/0.7618, allocations: 3.359 kB / 1.05 GB, free: 52.68 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003552/0.7621, allocations: 171.7 kB / 1.05 GB, free: 52.58 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.7622, allocations: 0 / 1.05 GB, free: 52.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0007909/0.763, allocations: 338.6 kB / 1.051 GB, free: 52.45 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.763, allocations: 92.42 kB / 1.051 GB, free: 52.35 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008487/0.7639, allocations: 0.7035 MB / 1.051 GB, free: 52.06 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.7639, allocations: 34.39 kB / 1.052 GB, free: 52.03 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.7641, allocations: 291 kB / 1.052 GB, free: 51.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.879e-05/0.7642, allocations: 49.78 kB / 1.052 GB, free: 51.76 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.514e-05/0.7642, allocations: 5.438 kB / 1.052 GB, free: 51.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.7643, allocations: 375.5 kB / 1.052 GB, free: 51.41 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002734/0.7646, allocations: 123.5 kB / 1.052 GB, free: 51.38 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002948/0.7649, allocations: 176.4 kB / 1.052 GB, free: 51.29 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004356/0.7654, allocations: 227.9 kB / 1.053 GB, free: 51.19 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.7654, allocations: 1.125 kB / 1.053 GB, free: 51.19 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006656/0.7661, allocations: 378 kB / 1.053 GB, free: 51.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.707e-05/0.7661, allocations: 117.1 kB / 1.053 GB, free: 50.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.7661, allocations: 3.703 kB / 1.053 GB, free: 50.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.7662, allocations: 1.406 kB / 1.053 GB, free: 50.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.7664, allocations: 65.91 kB / 1.053 GB, free: 50.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.7665, allocations: 0 / 1.053 GB, free: 50.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/0.7667, allocations: 56.88 kB / 1.053 GB, free: 50.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.7668, allocations: 5.312 kB / 1.053 GB, free: 50.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.213e-06/0.7668, allocations: 3.406 kB / 1.053 GB, free: 50.89 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004703/0.7672, allocations: 252.9 kB / 1.054 GB, free: 50.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-06/0.7673, allocations: 1.094 kB / 1.054 GB, free: 50.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.42e-06/0.7673, allocations: 3.141 kB / 1.054 GB, free: 50.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.7675, allocations: 58.81 kB / 1.054 GB, free: 50.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.7675, allocations: 13.81 kB / 1.054 GB, free: 50.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.7677, allocations: 43.42 kB / 1.054 GB, free: 50.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.7677, allocations: 6.812 kB / 1.054 GB, free: 50.77 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.0002602/0.768, allocations: 301.3 kB / 1.054 GB, free: 50.54 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.409e-05/0.7681, allocations: 57.19 kB / 1.054 GB, free: 50.51 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.7682, allocations: 63.61 kB / 1.054 GB, free: 50.48 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.7682, allocations: 5.312 kB / 1.054 GB, free: 50.47 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.7682, allocations: 1.781 kB / 1.054 GB, free: 50.47 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.7682, allocations: 0 / 1.054 GB, free: 50.47 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004691/0.7687, allocations: 437.4 kB / 1.055 GB, free: 50.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.7687, allocations: 0 / 1.055 GB, free: 50.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.7689, allocations: 33.36 kB / 1.055 GB, free: 50.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.7689, allocations: 1.406 kB / 1.055 GB, free: 50.18 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.7689, allocations: 2.406 kB / 1.055 GB, free: 50.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.7689, allocations: 3.938 kB / 1.055 GB, free: 50.18 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7689, allocations: 0 / 1.055 GB, free: 50.18 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007767/0.7697, allocations: 405.9 kB / 1.055 GB, free: 49.99 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.7698, allocations: 139.5 kB / 1.055 GB, free: 49.86 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.655e-05/0.7699, allocations: 6.812 kB / 1.055 GB, free: 49.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.7701, allocations: 37.45 kB / 1.055 GB, free: 49.84 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.045e-05/0.7702, allocations: 23.45 kB / 1.055 GB, free: 49.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.7702, allocations: 10.25 kB / 1.055 GB, free: 49.84 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005634/0.7708, allocations: 471.6 kB / 1.056 GB, free: 49.64 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.803e-06/0.7708, allocations: 0 / 1.056 GB, free: 49.64 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004518/0.7713, allocations: 135.6 kB / 1.056 GB, free: 49.61 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.001083/0.7723, allocations: 486.8 kB / 1.056 GB, free: 49.37 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008406/0.7732, allocations: 398 kB / 1.057 GB, free: 49.25 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.7732, allocations: 9.469 kB / 1.057 GB, free: 49.25 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.7734, allocations: 102.1 kB / 1.057 GB, free: 49.22 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005013/0.774, allocations: 83.12 kB / 1.057 GB, free: 49.19 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.7756, allocations: 1.157 MB / 1.058 GB, free: 48.53 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.776, allocations: 0.8909 MB / 1.059 GB, free: 47.81 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002174/0.7762, allocations: 63.72 kB / 1.059 GB, free: 47.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.844e-05/0.7763, allocations: 32.95 kB / 1.059 GB, free: 47.79 MB / 0.698 GB Notification: Performance of SimCode: time 3.3e-07/0.7763, allocations: 0 / 1.059 GB, free: 47.79 MB / 0.698 GB Notification: Performance of Templates: time 0.01244/0.7888, allocations: 4.666 MB / 1.063 GB, free: 47.46 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1)