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.363/1.363, allocations: 251.9 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 185.7 kB / 326.5 MB, free: 2.234 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.686/1.686, allocations: 205.4 MB / 0.5775 GB, free: 20.51 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.0009088/0.0009086, allocations: 93.78 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003101/0.0003101, allocations: 9.562 kB / 0.7962 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.228, allocations: 106.3 MB / 0.9001 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1788/0.407, allocations: 139.1 MB / 1.036 GB, free: 5.129 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.4073, allocations: 87.94 kB / 1.036 GB, free: 5.043 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0334/0.4407, allocations: 13.42 MB / 1.049 GB, free: 7.508 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4407, allocations: 4 kB / 1.049 GB, free: 7.504 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.309e-05/0.4408, allocations: 8 kB / 1.049 GB, free: 7.496 MB / 0.698 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.001272/0.4421, allocations: 0.8406 MB / 1.05 GB, free: 6.605 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.4421, allocations: 8.031 kB / 1.05 GB, free: 6.598 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.4422, allocations: 71.11 kB / 1.05 GB, free: 6.527 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007512/0.443, allocations: 459.6 kB / 1.05 GB, free: 6.035 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.443, allocations: 20 kB / 1.051 GB, free: 6.016 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.192e-05/0.4431, allocations: 16 kB / 1.051 GB, free: 6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000433/0.4435, allocations: 217.5 kB / 1.051 GB, free: 5.781 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.4435, allocations: 0 / 1.051 GB, free: 5.781 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.4436, allocations: 12 kB / 1.051 GB, free: 5.77 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.4436, allocations: 7.953 kB / 1.051 GB, free: 5.762 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003723/0.4439, allocations: 179.8 kB / 1.051 GB, free: 5.586 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.4452, allocations: 0.8553 MB / 1.052 GB, free: 4.68 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005408/0.4457, allocations: 250.7 kB / 1.052 GB, free: 4.426 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.4458, allocations: 8 kB / 1.052 GB, free: 4.418 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003245/0.4461, allocations: 170.6 kB / 1.052 GB, free: 4.234 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.4461, allocations: 0 / 1.052 GB, free: 4.234 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.0007197/0.4468, allocations: 341 kB / 1.052 GB, free: 3.895 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.4469, allocations: 77.11 kB / 1.053 GB, free: 3.801 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006767/0.4476, allocations: 0.6206 MB / 1.053 GB, free: 3.176 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/0.4476, allocations: 33.7 kB / 1.053 GB, free: 3.137 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.4479, allocations: 284.3 kB / 1.053 GB, free: 2.852 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.9e-05/0.4479, allocations: 55.33 kB / 1.054 GB, free: 2.797 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.683e-05/0.4479, allocations: 4 kB / 1.054 GB, free: 2.793 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.4481, allocations: 370.8 kB / 1.054 GB, free: 2.422 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/0.4484, allocations: 143.9 kB / 1.054 GB, free: 2.281 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/0.4486, allocations: 176.5 kB / 1.054 GB, free: 2.094 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.4489, allocations: 129.1 kB / 1.054 GB, free: 1.969 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.4489, allocations: 0 / 1.054 GB, free: 1.969 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000636/0.4496, allocations: 401.4 kB / 1.055 GB, free: 1.574 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.142e-05/0.4496, allocations: 186 kB / 1.055 GB, free: 1.379 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.4497, allocations: 0 / 1.055 GB, free: 1.379 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.4497, allocations: 0 / 1.055 GB, free: 1.379 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.4499, allocations: 55.91 kB / 1.055 GB, free: 1.324 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.4499, allocations: 0 / 1.055 GB, free: 1.324 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/0.4502, allocations: 51.81 kB / 1.055 GB, free: 1.273 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/0.4502, allocations: 11.98 kB / 1.055 GB, free: 1.262 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.725e-06/0.4502, allocations: 4 kB / 1.055 GB, free: 1.258 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004925/0.4507, allocations: 292 kB / 1.055 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-06/0.4507, allocations: 0 / 1.055 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-06/0.4507, allocations: 3.938 kB / 1.055 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.4509, allocations: 47.91 kB / 1.055 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.4509, allocations: 0 / 1.055 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.4511, allocations: 47.81 kB / 1.055 GB, free: 0.875 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.4511, allocations: 12 kB / 1.055 GB, free: 0.8633 MB / 0.698 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.0002478/0.4514, allocations: 296.9 kB / 1.056 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.118e-05/0.4515, allocations: 59.2 kB / 1.056 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005338/0.452, allocations: 279.1 kB / 1.056 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.452, allocations: 4.047 kB / 1.056 GB, free: 220 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.452, allocations: 7.984 kB / 1.056 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.452, allocations: 0 / 1.056 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4242/0.8763, allocations: 438.3 kB / 1.056 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.8763, allocations: 1.062 kB / 1.056 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002341/0.8766, allocations: 34.33 kB / 1.056 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/0.8766, allocations: 2.281 kB / 1.056 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.029e-05/0.8766, allocations: 7.125 kB / 1.056 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.8766, allocations: 1.781 kB / 1.056 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.8766, allocations: 2.625 kB / 1.056 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000876/0.8775, allocations: 407.5 kB / 1.057 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.8777, allocations: 131.7 kB / 1.057 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.835e-05/0.8777, allocations: 11.58 kB / 1.057 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.8779, allocations: 31.75 kB / 1.057 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.905e-05/0.878, allocations: 29.56 kB / 1.057 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.878, allocations: 8.906 kB / 1.057 GB, free: 146.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004804/0.8785, allocations: 464.6 kB / 1.057 GB, free: 146.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8785, allocations: 3.969 kB / 1.057 GB, free: 146.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004934/0.879, allocations: 136.5 kB / 1.058 GB, free: 146.7 MB / 0.698 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.001004/0.88, allocations: 457.9 kB / 1.058 GB, free: 146.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007624/0.8808, allocations: 393.9 kB / 1.058 GB, free: 146.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.8808, allocations: 0 / 1.058 GB, free: 146.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.881, allocations: 110.8 kB / 1.059 GB, free: 146.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.8815, allocations: 77.34 kB / 1.059 GB, free: 146.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.8828, allocations: 1.077 MB / 1.06 GB, free: 146.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.8831, allocations: 0.8905 MB / 1.061 GB, free: 145.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001872/0.8833, allocations: 57.2 kB / 1.061 GB, free: 145.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.742e-05/0.8834, allocations: 41.91 kB / 1.061 GB, free: 145.4 MB / 0.698 GB Notification: Performance of SimCode: time 3.31e-07/0.8834, allocations: 0 / 1.061 GB, free: 145.4 MB / 0.698 GB Notification: Performance of Templates: time 0.01099/0.8944, allocations: 4.682 MB / 1.065 GB, free: 145.2 MB / 0.698 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