Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.431/1.431, allocations: 249.3 MB / 261.8 MB, free: 5.809 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 176.7 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.2 MB / 0.572 GB, free: 10.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000871/0.0008709, allocations: 88.92 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.8e-05/2.803e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1951, allocations: 106.3 MB / 0.8918 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6639/0.859, allocations: 139.1 MB / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/0.8593, allocations: 84.2 kB / 1.028 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03373/0.893, allocations: 13.4 MB / 1.041 GB, free: 280 kB / 0.6511 GB Notification: Performance of FrontEnd: time 4.198e-06/0.8931, allocations: 0 / 1.041 GB, free: 280 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.63e-05/0.8931, allocations: 11.94 kB / 1.041 GB, free: 268 kB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001021/0.8942, allocations: 0.7184 MB / 1.041 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.8942, allocations: 12.03 kB / 1.041 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.8943, allocations: 71.19 kB / 1.042 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007503/0.8951, allocations: 450.2 kB / 1.042 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.8951, allocations: 14.19 kB / 1.042 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.739e-05/0.8952, allocations: 21.25 kB / 1.042 GB, free: 14.99 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003897/0.8956, allocations: 193.7 kB / 1.042 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.8956, allocations: 0 / 1.042 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.8956, allocations: 3.375 kB / 1.042 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.8957, allocations: 7.953 kB / 1.042 GB, free: 14.85 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002677/0.8959, allocations: 137.3 kB / 1.042 GB, free: 14.77 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001461/0.8974, allocations: 0.8554 MB / 1.043 GB, free: 14.06 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/0.8977, allocations: 170.7 kB / 1.043 GB, free: 13.94 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.8979, allocations: 59.75 kB / 1.043 GB, free: 13.9 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.6e-05/0.8979, allocations: 11.98 kB / 1.043 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002593/0.8982, allocations: 141.7 kB / 1.044 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.8982, allocations: 0 / 1.044 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of matching and sorting (n=16): time 0.0003882/0.8986, allocations: 208.8 kB / 1.044 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.8986, allocations: 81.11 kB / 1.044 GB, free: 13.5 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006986/0.8993, allocations: 0.6106 MB / 1.044 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.8994, allocations: 36.94 kB / 1.044 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.8996, allocations: 286.9 kB / 1.045 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 5.422e-05/0.8997, allocations: 52.34 kB / 1.045 GB, free: 12.77 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.653e-05/0.8997, allocations: 3.312 kB / 1.045 GB, free: 12.77 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.8999, allocations: 373.5 kB / 1.045 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.9001, allocations: 101.7 kB / 1.045 GB, free: 12.36 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.9003, allocations: 152.9 kB / 1.045 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.9005, allocations: 108.1 kB / 1.045 GB, free: 12.18 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.9005, allocations: 0 / 1.045 GB, free: 12.18 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004756/0.901, allocations: 344 kB / 1.046 GB, free: 11.91 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.135e-05/0.9011, allocations: 177.2 kB / 1.046 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.9011, allocations: 0 / 1.046 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.9011, allocations: 8.031 kB / 1.046 GB, free: 11.72 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.9013, allocations: 55.41 kB / 1.046 GB, free: 11.67 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.9014, allocations: 0 / 1.046 GB, free: 11.67 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.9016, allocations: 55.05 kB / 1.046 GB, free: 11.62 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.822e-05/0.9016, allocations: 15.31 kB / 1.046 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.996e-06/0.9017, allocations: 7.953 kB / 1.046 GB, free: 11.6 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003779/0.902, allocations: 244.8 kB / 1.046 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-06/0.9021, allocations: 0 / 1.046 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-06/0.9021, allocations: 0 / 1.046 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.9022, allocations: 55.47 kB / 1.046 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.9023, allocations: 0 / 1.046 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.9025, allocations: 43.38 kB / 1.046 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.9025, allocations: 15.12 kB / 1.046 GB, free: 11.33 MB / 0.6667 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 () * 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.0001036/0.9026, allocations: 123 kB / 1.047 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.961e-05/0.9027, allocations: 67.19 kB / 1.047 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003783/0.9031, allocations: 229.6 kB / 1.047 GB, free: 10.97 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.9031, allocations: 0 / 1.047 GB, free: 10.97 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.9031, allocations: 0 / 1.047 GB, free: 10.97 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.9031, allocations: 3.984 kB / 1.047 GB, free: 10.97 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003785/0.9035, allocations: 445.2 kB / 1.047 GB, free: 10.58 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.9035, allocations: 0 / 1.047 GB, free: 10.58 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.9037, allocations: 35.91 kB / 1.047 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.9037, allocations: 4.031 kB / 1.047 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.9037, allocations: 7.516 kB / 1.047 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.9037, allocations: 8 kB / 1.047 GB, free: 10.53 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.9037, allocations: 0 / 1.047 GB, free: 10.53 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004516/0.9042, allocations: 310 kB / 1.048 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.9043, allocations: 138.5 kB / 1.048 GB, free: 10.14 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.382e-05/0.9044, allocations: 11.27 kB / 1.048 GB, free: 10.13 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.9046, allocations: 35.72 kB / 1.048 GB, free: 10.1 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.659e-05/0.9047, allocations: 35.48 kB / 1.048 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.9047, allocations: 4 kB / 1.048 GB, free: 10.06 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004622/0.9051, allocations: 460.3 kB / 1.048 GB, free: 9.719 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9052, allocations: 0 / 1.048 GB, free: 9.719 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004431/0.9056, allocations: 144.6 kB / 1.048 GB, free: 9.59 MB / 0.6667 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) * 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.0009023/0.9065, allocations: 410.1 kB / 1.049 GB, free: 9.281 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0005164/0.907, allocations: 349.4 kB / 1.049 GB, free: 9.047 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.9071, allocations: 0 / 1.049 GB, free: 9.047 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.9072, allocations: 79.05 kB / 1.049 GB, free: 8.996 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.9076, allocations: 75.02 kB / 1.049 GB, free: 8.945 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.9086, allocations: 0.6848 MB / 1.05 GB, free: 8.316 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.9091, allocations: 0.8919 MB / 1.051 GB, free: 7.414 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004127/0.9095, allocations: 146.1 kB / 1.051 GB, free: 7.27 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.109e-05/0.9096, allocations: 27.42 kB / 1.051 GB, free: 7.242 MB / 0.6667 GB Notification: Performance of SimCode: time 2.41e-07/0.9096, allocations: 0 / 1.051 GB, free: 7.242 MB / 0.6667 GB Notification: Performance of Templates: time 0.01137/0.9209, allocations: 6.2 MB / 1.057 GB, free: 1.082 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches