Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.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.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_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.374/2.374, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001527/0.001527, allocations: 180 kB / 0.4902 GB, free: 2.234 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.457/1.457, allocations: 223.1 MB / 0.7992 GB, free: 15.69 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.001046/0.001046, allocations: 98.33 kB / 0.9396 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003634, allocations: 10.47 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2961, allocations: 143 MB / 1.229 GB, free: 85.49 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2203/0.5164, allocations: 149.5 MB / 1.375 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.5167, allocations: 75.95 kB / 1.375 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.002786/0.5195, allocations: 0.9951 MB / 1.376 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5195, allocations: 4 kB / 1.376 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.335e-06/0.5195, allocations: 0 / 1.376 GB, free: 14.74 MB / 0.8855 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.0003387/0.5199, allocations: 352 kB / 1.377 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.5199, allocations: 8.562 kB / 1.377 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.52, allocations: 7.906 kB / 1.377 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.5202, allocations: 186.9 kB / 1.377 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.5202, allocations: 8 kB / 1.377 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-06/0.5202, allocations: 0 / 1.377 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.5204, allocations: 80.19 kB / 1.377 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.5204, allocations: 4 kB / 1.377 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.5204, allocations: 0 / 1.377 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.5204, allocations: 0 / 1.377 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.621e-05/0.5205, allocations: 31.91 kB / 1.377 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005091/0.521, allocations: 0.5935 MB / 1.377 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 8.882e-05/0.5211, allocations: 169.1 kB / 1.378 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.5211, allocations: 79.28 kB / 1.378 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.388e-05/0.5212, allocations: 117.8 kB / 1.378 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.5212, allocations: 0 / 1.378 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 7.05e-05/0.5213, allocations: 33.61 kB / 1.378 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.5213, allocations: 130.6 kB / 1.378 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.5215, allocations: 142.5 kB / 1.378 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.5215, allocations: 25.7 kB / 1.378 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.011e-05/0.5215, allocations: 104.1 kB / 1.378 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.5216, allocations: 0 / 1.378 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.382e-06/0.5216, allocations: 0 / 1.378 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.5217, allocations: 314.8 kB / 1.379 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.818e-06/0.5217, allocations: 0 / 1.379 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.79e-05/0.5217, allocations: 4 kB / 1.379 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.608e-05/0.5218, allocations: 83.27 kB / 1.379 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.512e-05/0.5218, allocations: 75.28 kB / 1.379 GB, free: 12 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.805e-05/0.5219, allocations: 41.64 kB / 1.379 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.5219, allocations: 79.28 kB / 1.379 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.077e-05/0.5219, allocations: 79.22 kB / 1.379 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.593e-05/0.522, allocations: 162.5 kB / 1.379 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.872e-05/0.5221, allocations: 83.22 kB / 1.379 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.356e-05/0.5221, allocations: 150.6 kB / 1.379 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.307e-05/0.5222, allocations: 83.27 kB / 1.379 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.833e-05/0.5223, allocations: 83.22 kB / 1.379 GB, free: 11.25 MB / 0.8855 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 () * Number of clocked 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.0001496/0.5224, allocations: 268.4 kB / 1.38 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.06e-05/0.5225, allocations: 108.9 kB / 1.38 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.174e-05/0.5226, allocations: 120.6 kB / 1.38 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.986e-05/0.5226, allocations: 180.2 kB / 1.38 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.239e-05/0.5227, allocations: 184.2 kB / 1.38 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-05/0.5228, allocations: 184.2 kB / 1.38 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002351/0.523, allocations: 417.2 kB / 1.381 GB, free: 9.715 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.879e-05/0.5231, allocations: 104.9 kB / 1.381 GB, free: 9.605 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.449e-05/0.5231, allocations: 101 kB / 1.381 GB, free: 9.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.438e-05/0.5232, allocations: 180.3 kB / 1.381 GB, free: 9.316 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.857e-05/0.5233, allocations: 188.2 kB / 1.381 GB, free: 9.125 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.466e-05/0.5233, allocations: 176.3 kB / 1.382 GB, free: 8.945 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.406e-05/0.5234, allocations: 188.5 kB / 1.382 GB, free: 8.754 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.5236, allocations: 315.8 kB / 1.382 GB, free: 8.422 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.709e-05/0.5237, allocations: 186 kB / 1.382 GB, free: 8.215 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.206e-05/0.5238, allocations: 192.2 kB / 1.382 GB, free: 8.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.165e-05/0.5239, allocations: 104.9 kB / 1.382 GB, free: 7.91 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.738e-05/0.5239, allocations: 176.3 kB / 1.383 GB, free: 7.73 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.285e-05/0.524, allocations: 112.9 kB / 1.383 GB, free: 7.613 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.63e-05/0.5241, allocations: 125 kB / 1.383 GB, free: 7.492 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5241, allocations: 0 / 1.383 GB, free: 7.492 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002639/0.5244, allocations: 4 kB / 1.383 GB, free: 7.488 MB / 0.8855 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 () * Number of clocked 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.0001708/0.5246, allocations: 179.3 kB / 1.383 GB, free: 7.301 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 4.132e-05/0.5246, allocations: 3.938 kB / 1.383 GB, free: 7.297 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5246, allocations: 0 / 1.383 GB, free: 7.297 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.5246, allocations: 0 / 1.383 GB, free: 7.297 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.5249, allocations: 0.5302 MB / 1.384 GB, free: 6.762 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002738/0.5252, allocations: 206 kB / 1.384 GB, free: 6.531 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.5255, allocations: 0.6965 MB / 1.384 GB, free: 5.809 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 1.694e-05/0.5255, allocations: 8 kB / 1.384 GB, free: 5.801 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.734e-05/0.5256, allocations: 7.438 kB / 1.384 GB, free: 5.793 MB / 0.8855 GB Notification: Performance of SimCode: time 3.21e-07/0.5256, allocations: 0 / 1.384 GB, free: 5.793 MB / 0.8855 GB Notification: Performance of Templates: time 0.002087/0.5277, allocations: 392.3 kB / 1.385 GB, free: 5.41 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches