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.895/2.895, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001092/0.001092, allocations: 172.9 kB / 487.4 MB, free: 5.035 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.787/1.787, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 91.94 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.727e-05/1.73e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2862, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8929/1.179, allocations: 156.8 MB / 1.359 GB, free: 18.32 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000325/1.18, allocations: 89.78 kB / 1.359 GB, free: 18.32 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03399/1.214, allocations: 14.09 MB / 1.373 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.024e-06/1.214, allocations: 3.812 kB / 1.373 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.698e-05/1.214, allocations: 7.719 kB / 1.373 GB, free: 32.77 MB / 0.8386 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.001144/1.215, allocations: 0.7437 MB / 1.374 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/1.215, allocations: 11.41 kB / 1.374 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/1.215, allocations: 70.09 kB / 1.374 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007571/1.216, allocations: 482.3 kB / 1.374 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/1.216, allocations: 7.719 kB / 1.374 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.181e-05/1.216, allocations: 11.56 kB / 1.374 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002317/1.216, allocations: 126.4 kB / 1.374 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/1.216, allocations: 178.6 kB / 1.375 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/1.216, allocations: 0 / 1.375 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/1.216, allocations: 4 kB / 1.375 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/1.216, allocations: 7.812 kB / 1.375 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/1.218, allocations: 0.8387 MB / 1.375 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/1.218, allocations: 171.1 kB / 1.375 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.359e-05/1.218, allocations: 61.2 kB / 1.376 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/1.218, allocations: 3.75 kB / 1.376 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002063/1.218, allocations: 144.8 kB / 1.376 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/1.218, allocations: 0 / 1.376 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.000344/1.219, allocations: 201.7 kB / 1.376 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/1.219, allocations: 86.55 kB / 1.376 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006439/1.219, allocations: 0.5832 MB / 1.377 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/1.219, allocations: 29.61 kB / 1.377 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000196/1.22, allocations: 283.7 kB / 1.377 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.64e-05/1.22, allocations: 51.27 kB / 1.377 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.836e-05/1.22, allocations: 0 / 1.377 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000164/1.22, allocations: 381.1 kB / 1.377 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/1.22, allocations: 101.8 kB / 1.377 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/1.22, allocations: 161.4 kB / 1.378 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/1.22, allocations: 106.6 kB / 1.378 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.22, allocations: 0 / 1.378 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004572/1.221, allocations: 332 kB / 1.378 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.866e-05/1.221, allocations: 189.2 kB / 1.378 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/1.221, allocations: 3.938 kB / 1.378 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/1.221, allocations: 3.906 kB / 1.378 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/1.221, allocations: 53.78 kB / 1.378 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/1.221, allocations: 0 / 1.378 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002381/1.222, allocations: 46.67 kB / 1.378 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/1.222, allocations: 15.27 kB / 1.378 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.198e-06/1.222, allocations: 5.375 kB / 1.378 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003808/1.222, allocations: 237.3 kB / 1.378 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-06/1.222, allocations: 8 kB / 1.378 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.177e-06/1.222, allocations: 0 / 1.378 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/1.222, allocations: 50.31 kB / 1.379 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/1.222, allocations: 0 / 1.379 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/1.222, allocations: 42.88 kB / 1.379 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/1.223, allocations: 15.12 kB / 1.379 GB, free: 30.26 MB / 0.8386 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.0001161/1.223, allocations: 116.4 kB / 1.379 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.763e-05/1.223, allocations: 61.95 kB / 1.379 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003253/1.223, allocations: 216.2 kB / 1.379 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/1.223, allocations: 3.969 kB / 1.379 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/1.223, allocations: 0 / 1.379 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/1.223, allocations: 0 / 1.379 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003417/1.223, allocations: 404.1 kB / 1.379 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/1.223, allocations: 4 kB / 1.379 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/1.224, allocations: 35.25 kB / 1.379 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/1.224, allocations: 0 / 1.379 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/1.224, allocations: 3.844 kB / 1.379 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/1.224, allocations: 3.953 kB / 1.379 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.224, allocations: 4 kB / 1.379 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003769/1.224, allocations: 322.9 kB / 1.38 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.702e-05/1.224, allocations: 138.2 kB / 1.38 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.272e-05/1.224, allocations: 3.312 kB / 1.38 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/1.224, allocations: 34.83 kB / 1.38 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.39e-05/1.224, allocations: 30.64 kB / 1.38 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/1.224, allocations: 3.812 kB / 1.38 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004035/1.225, allocations: 436.4 kB / 1.38 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.225, allocations: 0 / 1.38 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004924/1.225, allocations: 143.2 kB / 1.38 GB, free: 29.32 MB / 0.8386 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.0008862/1.226, allocations: 397 kB / 1.381 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004777/1.227, allocations: 341.2 kB / 1.381 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.227, allocations: 0 / 1.381 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001147/1.227, allocations: 73.03 kB / 1.381 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004544/1.227, allocations: 84.05 kB / 1.381 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/1.228, allocations: 0.702 MB / 1.382 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005085/1.229, allocations: 0.9005 MB / 1.383 GB, free: 27.94 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004354/1.229, allocations: 147 kB / 1.383 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.011e-05/1.229, allocations: 30.17 kB / 1.383 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.229, allocations: 0 / 1.383 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of Templates: time 0.01037/1.24, allocations: 5.558 MB / 1.388 GB, free: 25.21 MB / 0.8386 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