Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.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.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_9_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_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.128/2.128, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.0009974/0.0009974, allocations: 168.9 kB / 492.3 MB, free: 0.6172 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.537/1.537, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.000866/0.0008663, allocations: 87.95 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.827e-05/3.833e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2812, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.087/1.368, allocations: 148.6 MB / 1.358 GB, free: 18.8 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/1.369, allocations: 67.7 kB / 1.358 GB, free: 18.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00339/1.372, allocations: 0.9931 MB / 1.359 GB, free: 34.45 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.092e-06/1.372, allocations: 0 / 1.359 GB, free: 34.45 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.034e-05/1.372, allocations: 7.781 kB / 1.359 GB, free: 34.45 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.0002382/1.372, allocations: 331.3 kB / 1.359 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/1.372, allocations: 11.66 kB / 1.359 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.065e-05/1.372, allocations: 3.875 kB / 1.359 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/1.373, allocations: 185.7 kB / 1.359 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/1.373, allocations: 3.812 kB / 1.359 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/1.373, allocations: 2.562 kB / 1.359 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/1.373, allocations: 84.38 kB / 1.359 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/1.373, allocations: 4.688 kB / 1.359 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/1.373, allocations: 0 / 1.359 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/1.373, allocations: 3.844 kB / 1.359 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.388e-05/1.373, allocations: 26.44 kB / 1.359 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004423/1.373, allocations: 0.6002 MB / 1.36 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.966e-05/1.373, allocations: 173.3 kB / 1.36 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.252e-05/1.373, allocations: 83.98 kB / 1.36 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/1.373, allocations: 79.28 kB / 1.36 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/1.373, allocations: 110.4 kB / 1.36 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/1.373, allocations: 0 / 1.36 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.244e-05/1.374, allocations: 38.08 kB / 1.36 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/1.374, allocations: 127.3 kB / 1.36 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/1.374, allocations: 144.3 kB / 1.361 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/1.374, allocations: 25.7 kB / 1.361 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.686e-05/1.374, allocations: 99.02 kB / 1.361 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/1.374, allocations: 0 / 1.361 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.41e-07/1.374, allocations: 0 / 1.361 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001033/1.374, allocations: 316.7 kB / 1.361 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.997e-06/1.374, allocations: 3.875 kB / 1.361 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.394e-05/1.374, allocations: 0.7031 kB / 1.361 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.982e-05/1.374, allocations: 75.98 kB / 1.361 GB, free: 32 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.98e-05/1.374, allocations: 79.22 kB / 1.361 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.012e-05/1.374, allocations: 42.02 kB / 1.361 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/1.374, allocations: 82.95 kB / 1.361 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.33e-05/1.374, allocations: 75.28 kB / 1.361 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.062e-05/1.374, allocations: 165.4 kB / 1.361 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.15e-05/1.374, allocations: 75.94 kB / 1.362 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-05/1.374, allocations: 155.1 kB / 1.362 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.485e-05/1.374, allocations: 88.3 kB / 1.362 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/1.374, allocations: 78.84 kB / 1.362 GB, free: 31.2 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 8.98e-05/1.374, allocations: 252.3 kB / 1.362 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.704e-05/1.375, allocations: 117.4 kB / 1.362 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.791e-05/1.375, allocations: 114.2 kB / 1.362 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.718e-05/1.375, allocations: 183.9 kB / 1.362 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.774e-05/1.375, allocations: 185 kB / 1.363 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-05/1.375, allocations: 180.7 kB / 1.363 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/1.375, allocations: 419 kB / 1.363 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.502e-05/1.375, allocations: 101.7 kB / 1.363 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.825e-05/1.375, allocations: 105.7 kB / 1.363 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.279e-05/1.375, allocations: 184.7 kB / 1.364 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.568e-05/1.375, allocations: 180.2 kB / 1.364 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.926e-05/1.375, allocations: 181.9 kB / 1.364 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.704e-05/1.375, allocations: 176.9 kB / 1.364 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/1.375, allocations: 321.9 kB / 1.364 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.849e-05/1.376, allocations: 183.2 kB / 1.365 GB, free: 28.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.131e-05/1.376, allocations: 181.3 kB / 1.365 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.745e-05/1.376, allocations: 101.6 kB / 1.365 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.637e-05/1.376, allocations: 196.2 kB / 1.365 GB, free: 27.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.661e-05/1.376, allocations: 101.6 kB / 1.365 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.022e-05/1.376, allocations: 125.2 kB / 1.365 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.376, allocations: 3.844 kB / 1.365 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002723/1.376, allocations: 0 / 1.365 GB, free: 27.58 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.0001567/1.376, allocations: 179.4 kB / 1.365 GB, free: 27.42 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.701e-05/1.376, allocations: 0.6094 kB / 1.365 GB, free: 27.42 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.376, allocations: 3.938 kB / 1.365 GB, free: 27.42 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.465e-06/1.376, allocations: 3.469 kB / 1.365 GB, free: 27.42 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/1.377, allocations: 0.5243 MB / 1.366 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002287/1.377, allocations: 167.1 kB / 1.366 GB, free: 26.74 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/1.377, allocations: 0.6898 MB / 1.367 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.935e-05/1.377, allocations: 5.391 kB / 1.367 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.809e-05/1.377, allocations: 7.438 kB / 1.367 GB, free: 26.04 MB / 0.8386 GB Notification: Performance of SimCode: time 4.9e-07/1.377, allocations: 0 / 1.367 GB, free: 26.04 MB / 0.8386 GB Notification: Performance of Templates: time 0.002243/1.38, allocations: 419.6 kB / 1.367 GB, free: 25.97 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches