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.346/2.346, allocations: 387.1 MB / 399.7 MB, free: 9.52 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.001072/0.001072, allocations: 179.7 kB / 492.3 MB, free: 0.6445 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.492/1.492, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.0008398/0.0008399, allocations: 95.88 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.446e-05/3.448e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2967, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9974/1.294, allocations: 157.4 MB / 1.366 GB, free: 18.97 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/1.294, allocations: 88.17 kB / 1.366 GB, free: 18.97 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03311/1.327, allocations: 14.23 MB / 1.38 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.684e-06/1.328, allocations: 3.938 kB / 1.38 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.77e-05/1.328, allocations: 7.719 kB / 1.38 GB, free: 32.71 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.0009471/1.329, allocations: 0.7447 MB / 1.381 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/1.329, allocations: 7.844 kB / 1.381 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/1.329, allocations: 69.88 kB / 1.381 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007025/1.329, allocations: 477.4 kB / 1.381 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/1.329, allocations: 18.91 kB / 1.381 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.855e-05/1.329, allocations: 18.31 kB / 1.381 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003284/1.33, allocations: 198.8 kB / 1.382 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/1.33, allocations: 7.984 kB / 1.382 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/1.33, allocations: 14.02 kB / 1.382 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/1.33, allocations: 3.844 kB / 1.382 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002245/1.33, allocations: 143.7 kB / 1.382 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/1.331, allocations: 0.885 MB / 1.383 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/1.332, allocations: 173.6 kB / 1.383 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.177e-05/1.332, allocations: 62.98 kB / 1.383 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/1.332, allocations: 3.984 kB / 1.383 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002262/1.332, allocations: 146.7 kB / 1.383 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/1.332, allocations: 0 / 1.383 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0003601/1.332, allocations: 215.5 kB / 1.383 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/1.332, allocations: 84.14 kB / 1.383 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006143/1.333, allocations: 0.63 MB / 1.384 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/1.333, allocations: 35.27 kB / 1.384 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/1.333, allocations: 288.9 kB / 1.384 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.384e-05/1.333, allocations: 56.91 kB / 1.384 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.562e-05/1.333, allocations: 6.375 kB / 1.384 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001559/1.334, allocations: 379.8 kB / 1.385 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/1.334, allocations: 103.5 kB / 1.385 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/1.334, allocations: 163.4 kB / 1.385 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/1.334, allocations: 107.3 kB / 1.385 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/1.334, allocations: 4 kB / 1.385 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004115/1.334, allocations: 342.3 kB / 1.385 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.538e-05/1.335, allocations: 182.7 kB / 1.386 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/1.335, allocations: 3.938 kB / 1.386 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/1.335, allocations: 0 / 1.386 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/1.335, allocations: 69.36 kB / 1.386 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/1.335, allocations: 3.953 kB / 1.386 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002388/1.335, allocations: 45.38 kB / 1.386 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.5e-05/1.335, allocations: 10.94 kB / 1.386 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.915e-06/1.335, allocations: 7.844 kB / 1.386 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003211/1.335, allocations: 250.5 kB / 1.386 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-06/1.335, allocations: 3.812 kB / 1.386 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.755e-06/1.335, allocations: 0 / 1.386 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/1.336, allocations: 49.38 kB / 1.386 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/1.336, allocations: 3.781 kB / 1.386 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/1.336, allocations: 45.72 kB / 1.386 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/1.336, allocations: 22.36 kB / 1.386 GB, free: 29.69 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 9.409e-05/1.336, allocations: 123.3 kB / 1.386 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.364e-05/1.336, allocations: 61.52 kB / 1.386 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003349/1.336, allocations: 226.5 kB / 1.386 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/1.336, allocations: 3.844 kB / 1.386 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/1.336, allocations: 4 kB / 1.386 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/1.336, allocations: 3.984 kB / 1.386 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003315/1.337, allocations: 456.1 kB / 1.387 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/1.337, allocations: 0 / 1.387 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/1.337, allocations: 34.91 kB / 1.387 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/1.337, allocations: 0 / 1.387 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/1.337, allocations: 10.83 kB / 1.387 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/1.337, allocations: 0 / 1.387 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/1.337, allocations: 0 / 1.387 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004012/1.337, allocations: 326.6 kB / 1.387 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.748e-05/1.337, allocations: 138.7 kB / 1.387 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.229e-05/1.338, allocations: 14.17 kB / 1.387 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/1.338, allocations: 31.05 kB / 1.387 GB, free: 28.9 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.971e-05/1.338, allocations: 29.83 kB / 1.387 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/1.338, allocations: 11.77 kB / 1.387 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004339/1.338, allocations: 478.5 kB / 1.388 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/1.338, allocations: 0 / 1.388 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004509/1.339, allocations: 153.6 kB / 1.388 GB, free: 28.71 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.0009465/1.34, allocations: 426.8 kB / 1.388 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004768/1.34, allocations: 358.9 kB / 1.389 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.34, allocations: 3.875 kB / 1.389 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/1.34, allocations: 82.52 kB / 1.389 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/1.341, allocations: 87.47 kB / 1.389 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/1.342, allocations: 0.7093 MB / 1.39 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004773/1.342, allocations: 0.902 MB / 1.391 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004059/1.343, allocations: 147.9 kB / 1.391 GB, free: 27.26 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.456e-05/1.343, allocations: 34.27 kB / 1.391 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.343, allocations: 0 / 1.391 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of Templates: time 0.01086/1.354, allocations: 6.593 MB / 1.397 GB, free: 24.09 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