Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.363/2.363, allocations: 390.5 MB / 398 MB, free: 10.91 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.001157/0.001156, allocations: 191 kB / 491.2 MB, free: 1.543 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.542/1.542, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.0008899/0.0008898, allocations: 97.75 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.802e-05/1.804e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2916, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.047/1.338, allocations: 157.6 MB / 1.366 GB, free: 17.56 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/1.339, allocations: 91.28 kB / 1.366 GB, free: 17.56 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0308/1.369, allocations: 14.1 MB / 1.38 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.142e-06/1.37, allocations: 0 / 1.38 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.376e-05/1.37, allocations: 11.5 kB / 1.38 GB, free: 31.66 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.0008751/1.37, allocations: 0.7328 MB / 1.381 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/1.37, allocations: 11.53 kB / 1.381 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/1.371, allocations: 69.84 kB / 1.381 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006572/1.371, allocations: 488.7 kB / 1.381 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/1.371, allocations: 6.344 kB / 1.381 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.248e-05/1.371, allocations: 15.5 kB / 1.381 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002411/1.372, allocations: 126.5 kB / 1.381 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/1.372, allocations: 179.2 kB / 1.382 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/1.372, allocations: 0 / 1.382 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/1.372, allocations: 0 / 1.382 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/1.372, allocations: 7.844 kB / 1.382 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/1.373, allocations: 0.8441 MB / 1.382 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/1.373, allocations: 161.9 kB / 1.383 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.07e-05/1.373, allocations: 63.19 kB / 1.383 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/1.373, allocations: 7.812 kB / 1.383 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/1.374, allocations: 146.3 kB / 1.383 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.102e-06/1.374, allocations: 0 / 1.383 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0003268/1.374, allocations: 205.3 kB / 1.383 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/1.374, allocations: 80.95 kB / 1.383 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005361/1.375, allocations: 0.5822 MB / 1.384 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/1.375, allocations: 36.77 kB / 1.384 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/1.375, allocations: 286.4 kB / 1.384 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/1.375, allocations: 49.58 kB / 1.384 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.509e-05/1.375, allocations: 0 / 1.384 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001169/1.375, allocations: 371.6 kB / 1.384 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/1.375, allocations: 105.8 kB / 1.384 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/1.375, allocations: 145 kB / 1.385 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002314/1.375, allocations: 115.2 kB / 1.385 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/1.376, allocations: 0 / 1.385 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004269/1.376, allocations: 338.2 kB / 1.385 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.726e-05/1.376, allocations: 177.8 kB / 1.385 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/1.376, allocations: 4 kB / 1.385 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/1.376, allocations: 7.859 kB / 1.385 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/1.376, allocations: 54.5 kB / 1.385 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/1.376, allocations: 0 / 1.385 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/1.377, allocations: 50.61 kB / 1.385 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/1.377, allocations: 15.48 kB / 1.385 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.825e-06/1.377, allocations: 5.094 kB / 1.385 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003469/1.377, allocations: 232.1 kB / 1.386 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-06/1.377, allocations: 3.844 kB / 1.386 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-06/1.377, allocations: 0 / 1.386 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/1.377, allocations: 54.58 kB / 1.386 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-06/1.377, allocations: 7.969 kB / 1.386 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/1.377, allocations: 41.52 kB / 1.386 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/1.377, allocations: 11.67 kB / 1.386 GB, free: 28.67 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 8.788e-05/1.377, allocations: 124.1 kB / 1.386 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.192e-05/1.378, allocations: 62.27 kB / 1.386 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003054/1.378, allocations: 217.3 kB / 1.386 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/1.378, allocations: 3.844 kB / 1.386 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/1.378, allocations: 0 / 1.386 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/1.378, allocations: 3.984 kB / 1.386 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002958/1.378, allocations: 400.2 kB / 1.386 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/1.378, allocations: 0 / 1.386 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/1.378, allocations: 35.12 kB / 1.387 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/1.378, allocations: 4 kB / 1.387 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/1.378, allocations: 7.797 kB / 1.387 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/1.378, allocations: 0 / 1.387 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.378, allocations: 0 / 1.387 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003962/1.379, allocations: 322.2 kB / 1.387 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.678e-05/1.379, allocations: 138.8 kB / 1.387 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.609e-05/1.379, allocations: 7.891 kB / 1.387 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/1.379, allocations: 35.06 kB / 1.387 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.374e-05/1.379, allocations: 26.42 kB / 1.387 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/1.379, allocations: 7.688 kB / 1.387 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003697/1.38, allocations: 432.4 kB / 1.387 GB, free: 27.76 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.38, allocations: 0 / 1.387 GB, free: 27.76 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004095/1.38, allocations: 137.6 kB / 1.388 GB, free: 27.74 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.0009311/1.381, allocations: 410.1 kB / 1.388 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004208/1.381, allocations: 342.6 kB / 1.388 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.381, allocations: 0 / 1.388 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.758e-05/1.382, allocations: 73.45 kB / 1.388 GB, free: 27.47 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/1.382, allocations: 82.05 kB / 1.388 GB, free: 27.44 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009013/1.383, allocations: 0.705 MB / 1.389 GB, free: 27.12 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/1.383, allocations: 0.8965 MB / 1.39 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003938/1.384, allocations: 153.8 kB / 1.39 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.57e-05/1.384, allocations: 29.45 kB / 1.39 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.384, allocations: 0 / 1.39 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of Templates: time 0.009258/1.393, allocations: 5.56 MB / 1.396 GB, free: 23.6 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower.csv","../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches