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.413/2.413, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001062/0.001062, allocations: 177.1 kB / 498.1 MB, free: 5.742 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.719/1.719, allocations: 223.2 MB / 0.7948 GB, free: 17.8 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.0008524/0.0008521, allocations: 94.78 kB / 0.9346 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003587, allocations: 11 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2875, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1799/0.4675, allocations: 148.7 MB / 1.368 GB, free: 13.37 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/0.4678, allocations: 71.95 kB / 1.368 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003136/0.471, allocations: 0.9876 MB / 1.369 GB, free: 12.31 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.122e-06/0.471, allocations: 0 / 1.369 GB, free: 12.31 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.471, allocations: 3.938 kB / 1.369 GB, free: 12.3 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.0003917/0.4714, allocations: 351.2 kB / 1.369 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.4715, allocations: 12.03 kB / 1.369 GB, free: 11.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.166e-05/0.4715, allocations: 3.906 kB / 1.369 GB, free: 11.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.4718, allocations: 190.9 kB / 1.37 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.4718, allocations: 0 / 1.37 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.4718, allocations: 4 kB / 1.37 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.472, allocations: 84.17 kB / 1.37 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.472, allocations: 4 kB / 1.37 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.4721, allocations: 0 / 1.37 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-06/0.4721, allocations: 0 / 1.37 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.492e-05/0.4721, allocations: 31.97 kB / 1.37 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006058/0.4728, allocations: 0.6051 MB / 1.37 GB, free: 10.87 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.4729, allocations: 169.1 kB / 1.371 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.889e-05/0.4729, allocations: 79.28 kB / 1.371 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.352e-05/0.473, allocations: 109.8 kB / 1.371 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.473, allocations: 0 / 1.371 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 9.564e-05/0.4731, allocations: 37.61 kB / 1.371 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.352e-05/0.4732, allocations: 126.7 kB / 1.371 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.4734, allocations: 141.8 kB / 1.371 GB, free: 10.17 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.4734, allocations: 25.7 kB / 1.371 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.916e-05/0.4735, allocations: 104.1 kB / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-06/0.4735, allocations: 0 / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.4735, allocations: 0 / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.4736, allocations: 314.8 kB / 1.371 GB, free: 9.719 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.563e-06/0.4736, allocations: 4 kB / 1.371 GB, free: 9.715 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.289e-05/0.4737, allocations: 8 kB / 1.371 GB, free: 9.707 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.308e-05/0.4737, allocations: 79.27 kB / 1.372 GB, free: 9.629 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.732e-05/0.4738, allocations: 75.28 kB / 1.372 GB, free: 9.555 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.792e-05/0.4738, allocations: 33.61 kB / 1.372 GB, free: 9.516 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.722e-05/0.4739, allocations: 80.38 kB / 1.372 GB, free: 9.438 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.363e-05/0.4739, allocations: 79.22 kB / 1.372 GB, free: 9.359 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.145e-05/0.474, allocations: 158.5 kB / 1.372 GB, free: 9.203 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.767e-05/0.474, allocations: 79.28 kB / 1.372 GB, free: 9.125 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.218e-05/0.4741, allocations: 154.5 kB / 1.372 GB, free: 8.973 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.185e-05/0.4742, allocations: 87.95 kB / 1.372 GB, free: 8.887 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.4742, allocations: 83.22 kB / 1.372 GB, free: 8.805 MB / 0.8698 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.000134/0.4744, allocations: 264.4 kB / 1.373 GB, free: 8.535 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.108e-05/0.4745, allocations: 120.8 kB / 1.373 GB, free: 8.41 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.823e-05/0.4745, allocations: 120.6 kB / 1.373 GB, free: 8.285 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.736e-05/0.4746, allocations: 184.2 kB / 1.373 GB, free: 8.098 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.696e-05/0.4747, allocations: 176.3 kB / 1.373 GB, free: 7.918 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.657e-05/0.4747, allocations: 184.2 kB / 1.373 GB, free: 7.73 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002707/0.475, allocations: 417.2 kB / 1.374 GB, free: 7.266 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.503e-05/0.4751, allocations: 108.9 kB / 1.374 GB, free: 7.152 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.041e-05/0.4751, allocations: 105 kB / 1.374 GB, free: 7.043 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.429e-05/0.4752, allocations: 176.3 kB / 1.374 GB, free: 6.863 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.697e-05/0.4752, allocations: 184.2 kB / 1.374 GB, free: 6.676 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.449e-05/0.4753, allocations: 176.3 kB / 1.374 GB, free: 6.496 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.861e-05/0.4754, allocations: 197 kB / 1.375 GB, free: 6.297 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.4755, allocations: 299.8 kB / 1.375 GB, free: 5.98 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.254e-05/0.4756, allocations: 189.9 kB / 1.375 GB, free: 5.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.341e-05/0.4757, allocations: 180.2 kB / 1.375 GB, free: 5.586 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.344e-05/0.4758, allocations: 108.9 kB / 1.375 GB, free: 5.473 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.819e-05/0.4758, allocations: 184.7 kB / 1.376 GB, free: 5.285 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.759e-05/0.4759, allocations: 108.9 kB / 1.376 GB, free: 5.172 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.065e-05/0.476, allocations: 124.8 kB / 1.376 GB, free: 5.051 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.476, allocations: 3.938 kB / 1.376 GB, free: 5.047 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002514/0.4762, allocations: 4 kB / 1.376 GB, free: 5.043 MB / 0.8698 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.000138/0.4764, allocations: 178.3 kB / 1.376 GB, free: 4.855 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 5.146e-05/0.4764, allocations: 4 kB / 1.376 GB, free: 4.852 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4764, allocations: 0 / 1.376 GB, free: 4.852 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.4764, allocations: 4 kB / 1.376 GB, free: 4.848 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.4768, allocations: 0.5195 MB / 1.376 GB, free: 4.324 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002803/0.477, allocations: 217.7 kB / 1.377 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.4773, allocations: 0.6887 MB / 1.377 GB, free: 3.371 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.172e-05/0.4773, allocations: 0 / 1.377 GB, free: 3.371 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.108e-05/0.4774, allocations: 15.38 kB / 1.377 GB, free: 3.355 MB / 0.8698 GB Notification: Performance of SimCode: time 2.3e-07/0.4774, allocations: 0 / 1.377 GB, free: 3.355 MB / 0.8698 GB Notification: Performance of Templates: time 0.002098/0.4795, allocations: 398.6 kB / 1.378 GB, free: 2.969 MB / 0.8698 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