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.001162/0.001162, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001539/0.00154, allocations: 172.7 kB / 15.95 MB, free: 208 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.538/1.538, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.003/3.003, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003984/0.0003986, allocations: 12.69 kB / 0.9021 GB, free: 36.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3569, allocations: 159.6 MB / 1.058 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.003597/0.3606, allocations: 2.264 MB / 1.06 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002886/0.3635, allocations: 1.53 MB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003598/0.3639, allocations: 7.938 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0007716/0.3647, allocations: 219 kB / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000533/0.3652, allocations: 147.3 kB / 1.062 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000628/0.3659, allocations: 171.6 kB / 1.062 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000645/0.3665, allocations: 414.7 kB / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002718/0.3668, allocations: 114.5 kB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002915/0.3671, allocations: 139.3 kB / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002586/0.3674, allocations: 163.2 kB / 1.063 GB, free: 144 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.212e-05/0.3674, allocations: 8 kB / 1.063 GB, free: 136 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001937/0.3676, allocations: 39.98 kB / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001582/0.3678, allocations: 123.5 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.3679, allocations: 113.3 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005481/0.3685, allocations: 0.5027 MB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.3685, allocations: 0 / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.887e-06/0.3685, allocations: 4 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.509e-05/0.3685, allocations: 0 / 1.064 GB, free: 15.35 MB / 0.8262 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.001424/0.37, allocations: 0.8289 MB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.37, allocations: 8.031 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.3701, allocations: 67.16 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005929/0.3707, allocations: 459.9 kB / 1.065 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.508e-05/0.3708, allocations: 24.33 kB / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.431e-05/0.3708, allocations: 20 kB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004693/0.3713, allocations: 224.5 kB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3713, allocations: 4 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.3713, allocations: 4 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.3714, allocations: 4 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003877/0.3717, allocations: 179.3 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.3731, allocations: 0.8823 MB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000915/0.374, allocations: 357.5 kB / 1.067 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/0.3742, allocations: 88.81 kB / 1.067 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.3743, allocations: 7.938 kB / 1.067 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003841/0.3747, allocations: 181.2 kB / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.3747, allocations: 0 / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.000755/0.3754, allocations: 347.1 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.3755, allocations: 93 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007764/0.3763, allocations: 0.7111 MB / 1.068 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.3763, allocations: 33.7 kB / 1.068 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/0.3766, allocations: 292.3 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.418e-05/0.3766, allocations: 51.34 kB / 1.069 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.985e-05/0.3767, allocations: 7.938 kB / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3768, allocations: 378.8 kB / 1.069 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002482/0.3771, allocations: 123.9 kB / 1.069 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002923/0.3774, allocations: 191.6 kB / 1.069 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.3776, allocations: 117.8 kB / 1.069 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3777, allocations: 4 kB / 1.069 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006399/0.3783, allocations: 384.7 kB / 1.07 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.579e-05/0.3784, allocations: 106.8 kB / 1.07 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.3784, allocations: 3.953 kB / 1.07 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.3784, allocations: 4 kB / 1.07 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.3787, allocations: 59.89 kB / 1.07 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.3787, allocations: 11.98 kB / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.3789, allocations: 47.81 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/0.379, allocations: 12 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.863e-06/0.379, allocations: 4 kB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004667/0.3795, allocations: 267.8 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.3795, allocations: 3.984 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-06/0.3795, allocations: 0 / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.3797, allocations: 47.97 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.3797, allocations: 7.938 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.3799, allocations: 47.88 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.3799, allocations: 12 kB / 1.07 GB, free: 8.453 MB / 0.8262 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.0002665/0.3802, allocations: 300.9 kB / 1.071 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.339e-05/0.3803, allocations: 63.25 kB / 1.071 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.3804, allocations: 61.72 kB / 1.071 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.3804, allocations: 4 kB / 1.071 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.3804, allocations: 0 / 1.071 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3804, allocations: 7.875 kB / 1.071 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004379/0.3809, allocations: 453.1 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3809, allocations: 0 / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.381, allocations: 27.97 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.381, allocations: 4 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.3811, allocations: 4 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3811, allocations: 0 / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3811, allocations: 0 / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007277/0.3818, allocations: 412 kB / 1.072 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.3819, allocations: 136.4 kB / 1.072 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.793e-05/0.382, allocations: 16 kB / 1.072 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.3822, allocations: 32.03 kB / 1.072 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.135e-05/0.3823, allocations: 31.95 kB / 1.072 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.3823, allocations: 4 kB / 1.072 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005032/0.3828, allocations: 471 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3828, allocations: 0 / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004548/0.3833, allocations: 135.7 kB / 1.072 GB, free: 6.234 MB / 0.8262 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.001006/0.3843, allocations: 414.6 kB / 1.073 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007904/0.3851, allocations: 412.6 kB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.3851, allocations: 0 / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002173/0.3853, allocations: 100.1 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004886/0.3858, allocations: 102.3 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.3875, allocations: 1.1 MB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005155/0.388, allocations: 0.8823 MB / 1.075 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000231/0.3883, allocations: 62.92 kB / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.385e-05/0.3884, allocations: 31.44 kB / 1.075 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.3884, allocations: 0 / 1.075 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of Templates: time 0.01076/0.3992, allocations: 4.642 MB / 1.08 GB, free: 14.65 MB / 0.8419 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 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches