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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.313/2.313, allocations: 390.3 MB / 405.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 170.1 kB / 498.1 MB, free: 5.742 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 223.2 MB / 0.7949 GB, free: 17.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009198/0.0009199, allocations: 98.52 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003784, allocations: 9.5 kB / 1.084 GB, free: 221 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.333, allocations: 142.4 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2136/0.5467, allocations: 157.5 MB / 1.377 GB, free: 4.496 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/0.5471, allocations: 91.94 kB / 1.377 GB, free: 4.406 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03791/0.585, allocations: 14.25 MB / 1.391 GB, free: 6.035 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.325e-06/0.585, allocations: 0 / 1.391 GB, free: 6.035 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.545e-05/0.5851, allocations: 12 kB / 1.391 GB, free: 6.023 MB / 0.8855 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.001505/0.5866, allocations: 0.8642 MB / 1.392 GB, free: 5.105 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.5867, allocations: 8.031 kB / 1.392 GB, free: 5.098 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.5868, allocations: 71.16 kB / 1.392 GB, free: 5.027 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009646/0.5878, allocations: 487.9 kB / 1.392 GB, free: 4.512 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.315e-05/0.5878, allocations: 16.38 kB / 1.392 GB, free: 4.496 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.916e-05/0.5879, allocations: 23.98 kB / 1.392 GB, free: 4.473 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004888/0.5884, allocations: 232.5 kB / 1.392 GB, free: 4.238 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.5884, allocations: 0 / 1.392 GB, free: 4.238 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.5884, allocations: 4 kB / 1.392 GB, free: 4.234 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.5884, allocations: 11.94 kB / 1.392 GB, free: 4.223 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003963/0.5889, allocations: 183.3 kB / 1.393 GB, free: 4.047 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001606/0.5905, allocations: 0.8823 MB / 1.393 GB, free: 3.113 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006309/0.5911, allocations: 262.8 kB / 1.394 GB, free: 2.848 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.5912, allocations: 0 / 1.394 GB, free: 2.848 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003942/0.5916, allocations: 181 kB / 1.394 GB, free: 2.652 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.5916, allocations: 0 / 1.394 GB, free: 2.652 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.0008219/0.5924, allocations: 351.5 kB / 1.394 GB, free: 2.305 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.5925, allocations: 77.11 kB / 1.394 GB, free: 2.211 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007827/0.5933, allocations: 0.6362 MB / 1.395 GB, free: 1.57 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.5933, allocations: 37.7 kB / 1.395 GB, free: 1.527 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/0.5935, allocations: 292.4 kB / 1.395 GB, free: 1.238 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.776e-05/0.5936, allocations: 55.28 kB / 1.395 GB, free: 1.184 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.674e-05/0.5936, allocations: 7.938 kB / 1.395 GB, free: 1.176 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.5938, allocations: 382.7 kB / 1.396 GB, free: 0.793 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000271/0.5941, allocations: 135.9 kB / 1.396 GB, free: 0.6602 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003044/0.5944, allocations: 185.5 kB / 1.396 GB, free: 476 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002682/0.5947, allocations: 135.9 kB / 1.396 GB, free: 344 kB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5947, allocations: 0 / 1.396 GB, free: 344 kB / 0.8855 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007235/0.5954, allocations: 398.9 kB / 1.396 GB, free: 15.94 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001341/0.5956, allocations: 182 kB / 1.397 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.5956, allocations: 0 / 1.397 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.5956, allocations: 8 kB / 1.397 GB, free: 15.74 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002728/0.5959, allocations: 59.91 kB / 1.397 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.5959, allocations: 3.953 kB / 1.397 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002505/0.5961, allocations: 51.81 kB / 1.397 GB, free: 15.63 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.316e-05/0.5962, allocations: 15.98 kB / 1.397 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.5962, allocations: 4 kB / 1.397 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005203/0.5968, allocations: 284 kB / 1.397 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.5968, allocations: 3.984 kB / 1.397 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-06/0.5968, allocations: 8.031 kB / 1.397 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.597, allocations: 47.97 kB / 1.397 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-06/0.597, allocations: 0 / 1.397 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.5972, allocations: 43.81 kB / 1.397 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.5972, allocations: 15.94 kB / 1.397 GB, free: 15.21 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled,filPow.assPow.assMesP.u,$PRE.filPow.assPow.maxPow.y,filPow.assPow.maxPow.y,$PRE.filPow.assPow.minPow.y,filPow.assPow.minPow.y,filPow.assPow.assMesDP.u) * 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.0003339/0.5976, allocations: 297 kB / 1.397 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.252e-05/0.5977, allocations: 59.25 kB / 1.397 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006077/0.5983, allocations: 292.1 kB / 1.398 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.5983, allocations: 4 kB / 1.398 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5983, allocations: 3.938 kB / 1.398 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.5983, allocations: 0 / 1.398 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004627/0.5988, allocations: 449.2 kB / 1.398 GB, free: 14.06 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.5988, allocations: 0 / 1.398 GB, free: 14.06 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.599, allocations: 35.98 kB / 1.398 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.599, allocations: 0 / 1.398 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.599, allocations: 7.984 kB / 1.398 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.599, allocations: 0 / 1.398 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.599, allocations: 0 / 1.398 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008021/0.5998, allocations: 421.1 kB / 1.399 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.6, allocations: 144.2 kB / 1.399 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.797e-05/0.6, allocations: 12.06 kB / 1.399 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.6002, allocations: 31.97 kB / 1.399 GB, free: 13.38 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.43e-05/0.6003, allocations: 27.95 kB / 1.399 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.6004, allocations: 4 kB / 1.399 GB, free: 13.35 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0005541/0.6009, allocations: 479 kB / 1.399 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6009, allocations: 4 kB / 1.399 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005361/0.6015, allocations: 155.8 kB / 1.399 GB, free: 12.73 MB / 0.9011 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.maxPow.y,filPow.assPow.minPow.y,filPow.assPow.assMesDP.u) * Number of discrete states: 4 (filPow.assPow.minPow.y,filPow.assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * 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.00113/0.6026, allocations: 478.1 kB / 1.4 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0008573/0.6035, allocations: 407.6 kB / 1.4 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.6035, allocations: 0 / 1.4 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002492/0.6037, allocations: 106.2 kB / 1.4 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004826/0.6042, allocations: 83.06 kB / 1.4 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.606, allocations: 1.118 MB / 1.402 GB, free: 10.68 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005032/0.6065, allocations: 0.8896 MB / 1.402 GB, free: 9.77 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002321/0.6067, allocations: 66.91 kB / 1.402 GB, free: 9.707 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.872e-05/0.6068, allocations: 35.42 kB / 1.403 GB, free: 9.672 MB / 0.9011 GB Notification: Performance of SimCode: time 5.41e-07/0.6068, allocations: 0 / 1.403 GB, free: 9.672 MB / 0.9011 GB Notification: Performance of Templates: time 0.01122/0.6181, allocations: 5.052 MB / 1.407 GB, free: 4.66 MB / 0.9011 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