Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001347/0.001352, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 223.2 MB / 239.9 MB, free: 5.316 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.511/2.511, allocations: 390.3 MB / 0.6653 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003717, allocations: 8 kB / 0.8145 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8027/0.8031, allocations: 142.3 MB / 0.9535 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.003435/0.8066, allocations: 2.243 MB / 0.9557 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002824/0.8095, allocations: 1.513 MB / 0.9572 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002443/0.8097, allocations: 8.094 kB / 0.9572 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005649/0.8103, allocations: 212.3 kB / 0.9574 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000402/0.8107, allocations: 152.1 kB / 0.9575 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005101/0.8112, allocations: 172.9 kB / 0.9577 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004159/0.8117, allocations: 289 kB / 0.958 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002376/0.8119, allocations: 118.3 kB / 0.9581 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001795/0.8121, allocations: 148.1 kB / 0.9582 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.8123, allocations: 152.3 kB / 0.9584 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.513e-05/0.8123, allocations: 8.25 kB / 0.9584 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.8125, allocations: 51.41 kB / 0.9584 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.8126, allocations: 115.7 kB / 0.9585 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.194e-05/0.8127, allocations: 119.3 kB / 0.9587 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004134/0.8131, allocations: 0.4894 MB / 0.9591 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.8131, allocations: 0 / 0.9591 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.066e-06/0.8131, allocations: 0 / 0.9591 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.786e-06/0.8131, allocations: 0 / 0.9591 GB, free: 3.816 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001255/0.8144, allocations: 0.8299 MB / 0.9599 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.8145, allocations: 13.16 kB / 0.96 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.8146, allocations: 70.77 kB / 0.96 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000577/0.8152, allocations: 462.3 kB / 0.9605 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.8152, allocations: 12.62 kB / 0.9605 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.515e-05/0.8153, allocations: 21.75 kB / 0.9605 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004384/0.8157, allocations: 229.3 kB / 0.9607 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.8157, allocations: 0 / 0.9607 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.8157, allocations: 10.75 kB / 0.9607 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.8158, allocations: 8.078 kB / 0.9607 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003724/0.8161, allocations: 166.7 kB / 0.9609 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.8175, allocations: 0.9338 MB / 0.9618 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006719/0.8182, allocations: 254.8 kB / 0.9621 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.8183, allocations: 2.375 kB / 0.9621 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000348/0.8186, allocations: 173.6 kB / 0.9622 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.392e-06/0.8186, allocations: 0 / 0.9622 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0007546/0.8194, allocations: 337.6 kB / 0.9625 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.8194, allocations: 79.11 kB / 0.9626 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007244/0.8202, allocations: 0.7125 MB / 0.9633 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.8202, allocations: 33.83 kB / 0.9633 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.8204, allocations: 299.7 kB / 0.9636 GB, free: 496 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.99e-05/0.8204, allocations: 49.61 kB / 0.9637 GB, free: 452 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.427e-05/0.8205, allocations: 5.062 kB / 0.9637 GB, free: 448 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.908e-05/0.8206, allocations: 372.2 kB / 0.964 GB, free: 84 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.8208, allocations: 122 kB / 0.9642 GB, free: 32 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002994/0.8211, allocations: 180.2 kB / 0.9643 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/0.8214, allocations: 126.9 kB / 0.9644 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.8214, allocations: 3.953 kB / 0.9644 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006823/0.8221, allocations: 375 kB / 0.9648 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001294/0.8222, allocations: 270.9 kB / 0.9651 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.8222, allocations: 0 / 0.9651 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.8223, allocations: 2.125 kB / 0.9651 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.8225, allocations: 68.19 kB / 0.9651 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.8225, allocations: 2.031 kB / 0.9651 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.8228, allocations: 56.69 kB / 0.9652 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-05/0.8229, allocations: 6.562 kB / 0.9652 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.826e-06/0.8229, allocations: 4 kB / 0.9652 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005155/0.8234, allocations: 264.3 kB / 0.9655 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.853e-06/0.8234, allocations: 3.938 kB / 0.9655 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.982e-06/0.8234, allocations: 6.672 kB / 0.9655 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.8236, allocations: 46.78 kB / 0.9655 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.8236, allocations: 1.969 kB / 0.9655 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.8239, allocations: 48.81 kB / 0.9656 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.8239, allocations: 10.34 kB / 0.9656 GB, free: 15.18 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003092/0.8242, allocations: 298.1 kB / 0.9658 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.135e-05/0.8243, allocations: 58.03 kB / 0.9659 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.8244, allocations: 62.97 kB / 0.966 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.8244, allocations: 5.969 kB / 0.966 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.8244, allocations: 4 kB / 0.966 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.8244, allocations: 1 kB / 0.966 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004562/0.8249, allocations: 439.9 kB / 0.9664 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.8249, allocations: 4.75 kB / 0.9664 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.825, allocations: 32.72 kB / 0.9664 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.8251, allocations: 0.9375 kB / 0.9664 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.8251, allocations: 6 kB / 0.9664 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.8251, allocations: 1 kB / 0.9664 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8251, allocations: 0 / 0.9664 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007834/0.8259, allocations: 401.3 kB / 0.9668 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.826, allocations: 134 kB / 0.9669 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.245e-05/0.8261, allocations: 11.08 kB / 0.967 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.8263, allocations: 29.7 kB / 0.967 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.862e-05/0.8264, allocations: 38.8 kB / 0.967 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/0.8264, allocations: 13.11 kB / 0.967 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005831/0.827, allocations: 470.2 kB / 0.9675 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.827, allocations: 0 / 0.9675 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000482/0.8275, allocations: 136.6 kB / 0.9676 GB, free: 13.76 MB / 0.7325 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 (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.0009568/0.8285, allocations: 426.2 kB / 0.968 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008232/0.8293, allocations: 394.3 kB / 0.9684 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.8293, allocations: 4 kB / 0.9684 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002569/0.8296, allocations: 94.98 kB / 0.9685 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.83, allocations: 88.75 kB / 0.9686 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.8317, allocations: 1.111 MB / 0.9697 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004665/0.8321, allocations: 0.8905 MB / 0.9705 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002003/0.8323, allocations: 58.8 kB / 0.9706 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.76e-05/0.8324, allocations: 41.36 kB / 0.9706 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of SimCode: time 6.91e-07/0.8324, allocations: 0 / 0.9706 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of Templates: time 0.01028/0.8427, allocations: 4.527 MB / 0.975 GB, free: 9.543 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower.csv","../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches