Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.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.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaFil.u.1.|reaFil.u.2.|reaFil.u.3.|reaFil.y.1.|reaFil.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaFil.u.1.|reaFil.u.2.|reaFil.u.3.|reaFil.y.1.|reaFil.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.188/2.188, allocations: 387.4 MB / 394.9 MB, free: 13.33 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.001015/0.001015, allocations: 180.8 kB / 487.4 MB, free: 5.051 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.46/1.46, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 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.0008233/0.0008236, allocations: 95.89 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.424e-05/2.44e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2737, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.005/1.278, allocations: 148 MB / 1.35 GB, free: 18.38 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/1.279, allocations: 65.5 kB / 1.351 GB, free: 18.38 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003512/1.282, allocations: 0.9903 MB / 1.351 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.373e-06/1.282, allocations: 0 / 1.351 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.746e-06/1.282, allocations: 0 / 1.351 GB, free: 34.04 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002598/1.282, allocations: 336.9 kB / 1.352 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/1.283, allocations: 11.56 kB / 1.352 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/1.283, allocations: 0 / 1.352 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/1.283, allocations: 188.2 kB / 1.352 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/1.283, allocations: 0 / 1.352 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/1.283, allocations: 8.312 kB / 1.352 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.754e-05/1.283, allocations: 22.2 kB / 1.352 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/1.283, allocations: 74.09 kB / 1.352 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/1.283, allocations: 7.922 kB / 1.352 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/1.283, allocations: 0 / 1.352 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/1.283, allocations: 0 / 1.352 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004571/1.283, allocations: 0.5677 MB / 1.353 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.387e-05/1.284, allocations: 165.1 kB / 1.353 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.649e-05/1.284, allocations: 80.8 kB / 1.353 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/1.284, allocations: 90.22 kB / 1.353 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.975e-05/1.284, allocations: 110.3 kB / 1.353 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/1.284, allocations: 0 / 1.353 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.241e-05/1.284, allocations: 30.45 kB / 1.353 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/1.284, allocations: 51.41 kB / 1.353 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.067e-05/1.284, allocations: 110.5 kB / 1.353 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/1.284, allocations: 26.27 kB / 1.353 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.91e-05/1.284, allocations: 101.3 kB / 1.353 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.322e-06/1.284, allocations: 0 / 1.353 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2e-07/1.284, allocations: 0 / 1.353 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001405/1.284, allocations: 316.3 kB / 1.354 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.479e-06/1.284, allocations: 0 / 1.354 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.356e-05/1.284, allocations: 4.578 kB / 1.354 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.035e-05/1.284, allocations: 79.22 kB / 1.354 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.388e-05/1.284, allocations: 75.98 kB / 1.354 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.614e-05/1.284, allocations: 34.27 kB / 1.354 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.046e-05/1.284, allocations: 83.58 kB / 1.354 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.882e-05/1.284, allocations: 75.28 kB / 1.354 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.19e-05/1.285, allocations: 161.4 kB / 1.354 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.197e-05/1.285, allocations: 76.08 kB / 1.354 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.967e-05/1.285, allocations: 155.3 kB / 1.354 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.447e-05/1.285, allocations: 87.19 kB / 1.354 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/1.285, allocations: 76.03 kB / 1.355 GB, free: 30.9 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001103/1.285, allocations: 252.1 kB / 1.355 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.946e-05/1.285, allocations: 110 kB / 1.355 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.914e-05/1.285, allocations: 113.9 kB / 1.355 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.897e-05/1.285, allocations: 188 kB / 1.355 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.848e-05/1.285, allocations: 181.4 kB / 1.355 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.55e-05/1.285, allocations: 185 kB / 1.356 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/1.285, allocations: 393.8 kB / 1.356 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.502e-05/1.286, allocations: 104.9 kB / 1.356 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.382e-05/1.286, allocations: 107 kB / 1.356 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.293e-05/1.286, allocations: 182.3 kB / 1.356 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.002e-05/1.286, allocations: 178.2 kB / 1.356 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.334e-05/1.286, allocations: 180.9 kB / 1.357 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.9e-05/1.286, allocations: 182.2 kB / 1.357 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/1.286, allocations: 314.4 kB / 1.357 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.694e-05/1.286, allocations: 185.8 kB / 1.357 GB, free: 27.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.405e-05/1.286, allocations: 178.8 kB / 1.357 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.089e-05/1.286, allocations: 107.1 kB / 1.358 GB, free: 27.69 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.816e-05/1.286, allocations: 178.2 kB / 1.358 GB, free: 27.51 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.445e-05/1.286, allocations: 106.8 kB / 1.358 GB, free: 27.4 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.078e-05/1.287, allocations: 97.8 kB / 1.358 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.287, allocations: 0 / 1.358 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002972/1.287, allocations: 3.969 kB / 1.358 GB, free: 27.32 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0001925/1.287, allocations: 176.2 kB / 1.358 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.447e-05/1.287, allocations: 1.797 kB / 1.358 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.287, allocations: 0 / 1.358 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/1.287, allocations: 0 / 1.358 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/1.287, allocations: 0.5284 MB / 1.359 GB, free: 26.63 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002829/1.288, allocations: 155 kB / 1.359 GB, free: 26.49 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/1.288, allocations: 0.6952 MB / 1.359 GB, free: 25.79 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.814e-05/1.288, allocations: 1.344 kB / 1.359 GB, free: 25.79 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.171e-05/1.288, allocations: 8.719 kB / 1.359 GB, free: 25.79 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.288, allocations: 0 / 1.359 GB, free: 25.79 MB / 0.8386 GB Notification: Performance of Templates: time 0.002202/1.29, allocations: 260.1 kB / 1.36 GB, free: 25.73 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches