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.46/1.46, allocations: 249.5 MB / 257 MB, free: 6.977 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.001132/0.001132, allocations: 183.3 kB / 316.3 MB, free: 3.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.551/1.551, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.0008393/0.0008395, allocations: 82.48 kB / 0.6714 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.401e-05/1.402e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1581, allocations: 106.3 MB / 0.8852 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6099/0.768, allocations: 139.3 MB / 1.021 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.7683, allocations: 87.83 kB / 1.021 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03283/0.8012, allocations: 13.24 MB / 1.034 GB, free: 3.371 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.775e-06/0.8012, allocations: 4 kB / 1.034 GB, free: 3.367 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.95e-05/0.8013, allocations: 23.88 kB / 1.034 GB, free: 3.344 MB / 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.0009632/0.8022, allocations: 0.7232 MB / 1.035 GB, free: 2.609 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.8023, allocations: 8.031 kB / 1.035 GB, free: 2.602 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.7e-05/0.8024, allocations: 67.2 kB / 1.035 GB, free: 2.535 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006492/0.803, allocations: 451.4 kB / 1.036 GB, free: 2.109 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.8031, allocations: 8 kB / 1.036 GB, free: 2.102 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.674e-05/0.8031, allocations: 12 kB / 1.036 GB, free: 2.09 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002412/0.8034, allocations: 125.8 kB / 1.036 GB, free: 2.016 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/0.8037, allocations: 170.9 kB / 1.036 GB, free: 1.887 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.8037, allocations: 0 / 1.036 GB, free: 1.887 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.8037, allocations: 3.953 kB / 1.036 GB, free: 1.883 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.8037, allocations: 4 kB / 1.036 GB, free: 1.879 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.8049, allocations: 0.8101 MB / 1.037 GB, free: 1.215 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002366/0.8052, allocations: 157.5 kB / 1.037 GB, free: 1.109 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.35e-05/0.8053, allocations: 59.88 kB / 1.037 GB, free: 1.07 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.8053, allocations: 7.922 kB / 1.037 GB, free: 1.062 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002137/0.8055, allocations: 137.8 kB / 1.037 GB, free: 0.9414 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 1.804e-06/0.8055, allocations: 0 / 1.037 GB, free: 0.9414 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0003355/0.8059, allocations: 199.8 kB / 1.037 GB, free: 0.7773 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.8059, allocations: 77.11 kB / 1.037 GB, free: 0.6836 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005968/0.8065, allocations: 0.5706 MB / 1.038 GB, free: 240 kB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.8066, allocations: 33.02 kB / 1.038 GB, free: 204 kB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.8067, allocations: 274.5 kB / 1.038 GB, free: 48 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.27e-05/0.8068, allocations: 50.55 kB / 1.038 GB, free: 4 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.484e-05/0.8068, allocations: 0 / 1.038 GB, free: 4 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.807, allocations: 371.6 kB / 1.039 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.8071, allocations: 109.7 kB / 1.039 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.8073, allocations: 145.5 kB / 1.039 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.8074, allocations: 96.08 kB / 1.039 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.8075, allocations: 4 kB / 1.039 GB, free: 15.41 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004522/0.8079, allocations: 323.3 kB / 1.039 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.166e-05/0.808, allocations: 181 kB / 1.039 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.808, allocations: 3.984 kB / 1.039 GB, free: 14.97 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.808, allocations: 4 kB / 1.039 GB, free: 14.97 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.8083, allocations: 51.06 kB / 1.039 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.8083, allocations: 4 kB / 1.039 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.8085, allocations: 39.84 kB / 1.039 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.698e-05/0.8086, allocations: 19.38 kB / 1.039 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 6.853e-06/0.8086, allocations: 8 kB / 1.039 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003167/0.8089, allocations: 219.2 kB / 1.04 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.8089, allocations: 7.938 kB / 1.04 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.918e-06/0.8089, allocations: 3.953 kB / 1.04 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.8091, allocations: 47.48 kB / 1.04 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.8091, allocations: 3.984 kB / 1.04 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.8093, allocations: 35.86 kB / 1.04 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.8093, allocations: 19.92 kB / 1.04 GB, free: 14.59 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.0001002/0.8094, allocations: 115.5 kB / 1.04 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.013e-05/0.8095, allocations: 55.25 kB / 1.04 GB, free: 14.42 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003451/0.8098, allocations: 210.8 kB / 1.04 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.8099, allocations: 3.953 kB / 1.04 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.8099, allocations: 4 kB / 1.04 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.8099, allocations: 4 kB / 1.04 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003451/0.8102, allocations: 397.1 kB / 1.041 GB, free: 13.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.8102, allocations: 0 / 1.041 GB, free: 13.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.8104, allocations: 31.92 kB / 1.041 GB, free: 13.87 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.8104, allocations: 0 / 1.041 GB, free: 13.87 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.8104, allocations: 7.922 kB / 1.041 GB, free: 13.87 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.634e-06/0.8104, allocations: 4 kB / 1.041 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.8104, allocations: 0 / 1.041 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004018/0.8109, allocations: 309.6 kB / 1.041 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.811, allocations: 132.3 kB / 1.041 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.474e-05/0.811, allocations: 4 kB / 1.041 GB, free: 13.47 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.8112, allocations: 32.03 kB / 1.041 GB, free: 13.44 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.228e-05/0.8113, allocations: 34.66 kB / 1.041 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.8113, allocations: 11.92 kB / 1.041 GB, free: 13.4 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004302/0.8118, allocations: 415.8 kB / 1.041 GB, free: 13.09 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8118, allocations: 0 / 1.041 GB, free: 13.09 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004283/0.8122, allocations: 131.5 kB / 1.042 GB, free: 12.97 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.0008432/0.8131, allocations: 396.1 kB / 1.042 GB, free: 12.66 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004582/0.8135, allocations: 328 kB / 1.042 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.8135, allocations: 128 / 1.042 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.8137, allocations: 81.08 kB / 1.042 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.814, allocations: 67.41 kB / 1.042 GB, free: 12.35 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.8151, allocations: 0.6813 MB / 1.043 GB, free: 11.72 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004466/0.8155, allocations: 0.8886 MB / 1.044 GB, free: 10.82 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004303/0.816, allocations: 146.4 kB / 1.044 GB, free: 10.67 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.672e-05/0.816, allocations: 30.8 kB / 1.044 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of SimCode: time 1.513e-06/0.816, allocations: 0 / 1.044 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of Templates: time 0.009868/0.8259, allocations: 5.173 MB / 1.049 GB, free: 5.512 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