Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.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.IntegerVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intFil.u.1.|intFil.u.2.|intFil.u.3.|intFil.y.1.|intFil.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intFil.u.1.|intFil.u.2.|intFil.u.3.|intFil.y.1.|intFil.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.448/2.448, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001169/0.001168, allocations: 183.9 kB / 0.4902 GB, free: 2.277 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.654/1.654, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.0009006/0.0009004, allocations: 96.27 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003454, allocations: 10.28 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2839, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1975/0.4815, allocations: 149.5 MB / 1.375 GB, free: 4.051 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000327/0.4819, allocations: 59.97 kB / 1.375 GB, free: 3.992 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003607/0.4855, allocations: 0.9896 MB / 1.376 GB, free: 3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.848e-06/0.4855, allocations: 4 kB / 1.376 GB, free: 2.996 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.4855, allocations: 0 / 1.376 GB, free: 2.996 MB / 0.8698 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.0004054/0.486, allocations: 339.3 kB / 1.377 GB, free: 2.617 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/0.486, allocations: 12.56 kB / 1.377 GB, free: 2.605 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.563e-05/0.4861, allocations: 7.906 kB / 1.377 GB, free: 2.598 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.4864, allocations: 190.9 kB / 1.377 GB, free: 2.371 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.4864, allocations: 4 kB / 1.377 GB, free: 2.367 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.4864, allocations: 4 kB / 1.377 GB, free: 2.363 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.4866, allocations: 76.19 kB / 1.377 GB, free: 2.273 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4866, allocations: 7.938 kB / 1.377 GB, free: 2.266 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.4867, allocations: 4 kB / 1.377 GB, free: 2.262 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.4867, allocations: 0 / 1.377 GB, free: 2.262 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.054e-05/0.4867, allocations: 27.92 kB / 1.377 GB, free: 2.234 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006033/0.4873, allocations: 0.6011 MB / 1.377 GB, free: 1.574 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.4875, allocations: 173.1 kB / 1.378 GB, free: 1.395 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.032e-05/0.4875, allocations: 75.28 kB / 1.378 GB, free: 1.32 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.371e-05/0.4876, allocations: 115.5 kB / 1.378 GB, free: 1.199 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.713e-06/0.4876, allocations: 0 / 1.378 GB, free: 1.199 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 9.365e-05/0.4877, allocations: 41.53 kB / 1.378 GB, free: 1.152 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.763e-05/0.4878, allocations: 130.7 kB / 1.378 GB, free: 1.012 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.488, allocations: 141.1 kB / 1.378 GB, free: 0.8633 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.488, allocations: 25.7 kB / 1.378 GB, free: 0.832 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.097e-05/0.4881, allocations: 96.14 kB / 1.378 GB, free: 0.7344 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-06/0.4881, allocations: 0 / 1.378 GB, free: 0.7344 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-07/0.4881, allocations: 0 / 1.378 GB, free: 0.7344 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.4883, allocations: 314.8 kB / 1.379 GB, free: 428 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.079e-06/0.4883, allocations: 0 / 1.379 GB, free: 428 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.522e-05/0.4883, allocations: 8 kB / 1.379 GB, free: 420 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.313e-05/0.4884, allocations: 79.31 kB / 1.379 GB, free: 340 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.499e-05/0.4884, allocations: 75.28 kB / 1.379 GB, free: 264 kB / 0.8698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 8.351e-05/0.4885, allocations: 41.55 kB / 1.379 GB, free: 216 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.376e-05/0.4886, allocations: 80.69 kB / 1.379 GB, free: 136 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-05/0.4886, allocations: 79.27 kB / 1.379 GB, free: 56 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001024/0.4887, allocations: 154.5 kB / 1.379 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.712e-05/0.4888, allocations: 87.22 kB / 1.379 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.563e-05/0.4889, allocations: 154.6 kB / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.489, allocations: 83.22 kB / 1.379 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.642e-05/0.489, allocations: 79.28 kB / 1.379 GB, free: 15.5 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.0001599/0.4892, allocations: 264.4 kB / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.091e-05/0.4893, allocations: 112.9 kB / 1.38 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.345e-05/0.4894, allocations: 128.5 kB / 1.38 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.455e-05/0.4894, allocations: 180.2 kB / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-05/0.4895, allocations: 180.2 kB / 1.38 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.422e-05/0.4896, allocations: 184.3 kB / 1.38 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/0.4899, allocations: 413.2 kB / 1.381 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.233e-05/0.49, allocations: 108.9 kB / 1.381 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.124e-05/0.49, allocations: 105 kB / 1.381 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.021e-05/0.4901, allocations: 188.2 kB / 1.381 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.23e-05/0.4902, allocations: 180.3 kB / 1.381 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.54e-05/0.4903, allocations: 176.3 kB / 1.382 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.36e-05/0.4904, allocations: 184.5 kB / 1.382 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.4906, allocations: 327.7 kB / 1.382 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.4908, allocations: 186 kB / 1.382 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.775e-05/0.4909, allocations: 184.2 kB / 1.382 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.491, allocations: 101 kB / 1.382 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-05/0.4911, allocations: 184.2 kB / 1.383 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.016e-05/0.4911, allocations: 112.9 kB / 1.383 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001193/0.4913, allocations: 119.9 kB / 1.383 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2e-07/0.4913, allocations: 0 / 1.383 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003494/0.4917, allocations: 4 kB / 1.383 GB, free: 11.74 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.0002342/0.4919, allocations: 175.3 kB / 1.383 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 6.66e-05/0.492, allocations: 0 / 1.383 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.492, allocations: 4 kB / 1.383 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.174e-06/0.492, allocations: 0 / 1.383 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.4924, allocations: 0.5324 MB / 1.384 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003992/0.4928, allocations: 206 kB / 1.384 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.4932, allocations: 0.6926 MB / 1.384 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.806e-05/0.4933, allocations: 4 kB / 1.384 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.651e-05/0.4933, allocations: 7.438 kB / 1.384 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of SimCode: time 3.71e-07/0.4933, allocations: 0 / 1.384 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of Templates: time 0.003317/0.4966, allocations: 395.7 kB / 1.385 GB, free: 9.672 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches