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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008222/0.008222, allocations: 100.8 kB / 15.73 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 189.9 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.573/2.573, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 72.22 kB / 0.9508 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3714, allocations: 140.4 MB / 1.088 GB, free: 1.617 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.002067/0.3735, allocations: 0.595 MB / 1.089 GB, free: 1.02 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000422/0.374, allocations: 108.1 kB / 1.089 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.477e-05/0.374, allocations: 3.938 kB / 1.089 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.3741, allocations: 7.938 kB / 1.089 GB, free: 0.9023 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000407/0.3746, allocations: 23.92 kB / 1.089 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 6.186e-05/0.3746, allocations: 7.984 kB / 1.089 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.936e-05/0.3747, allocations: 27.98 kB / 1.089 GB, free: 0.8438 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.3749, allocations: 23.98 kB / 1.089 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.375, allocations: 63.81 kB / 1.089 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.461e-05/0.3751, allocations: 15.94 kB / 1.089 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.3751, allocations: 4 kB / 1.089 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.997e-06/0.3751, allocations: 0 / 1.089 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.957e-05/0.3752, allocations: 15.98 kB / 1.089 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.741e-05/0.3752, allocations: 15.88 kB / 1.089 GB, free: 0.707 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.968e-05/0.3753, allocations: 51.8 kB / 1.089 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3753, allocations: 0 / 1.089 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3754, allocations: 0 / 1.089 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.3754, allocations: 0 / 1.089 GB, free: 0.6562 MB / 0.8419 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.0003946/0.3758, allocations: 355.2 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.3758, allocations: 12.03 kB / 1.089 GB, free: 256 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.3759, allocations: 4.938 kB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.3761, allocations: 184.2 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.3761, allocations: 8.375 kB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.3761, allocations: 384 / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.3763, allocations: 80.38 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3763, allocations: 0 / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.3764, allocations: 4 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.3764, allocations: 4 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.025e-05/0.3764, allocations: 27.92 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005036/0.3769, allocations: 0.6011 MB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.999e-05/0.377, allocations: 169.1 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.935e-05/0.3771, allocations: 80.14 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.213e-05/0.3771, allocations: 79.28 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.888e-05/0.3772, allocations: 109.8 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.333e-06/0.3772, allocations: 3.938 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.669e-05/0.3773, allocations: 29.7 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/0.3773, allocations: 130.7 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.3775, allocations: 163.1 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.3775, allocations: 25.7 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.435e-05/0.3776, allocations: 100.1 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.3776, allocations: 0 / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/0.3776, allocations: 9.719 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3777, allocations: 318.8 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.064e-06/0.3778, allocations: 0 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.363e-05/0.3778, allocations: 11.94 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.678e-05/0.3778, allocations: 79.31 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-05/0.3778, allocations: 75.28 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.944e-05/0.3779, allocations: 37.55 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.4e-05/0.378, allocations: 81.78 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.907e-05/0.378, allocations: 76.7 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.765e-05/0.3781, allocations: 158.5 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.671e-05/0.3781, allocations: 79.27 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-05/0.3782, allocations: 158.5 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.3783, allocations: 95.06 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.852e-05/0.3784, allocations: 75.28 kB / 1.092 GB, free: 13.04 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001284/0.3785, allocations: 268.4 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.939e-05/0.3786, allocations: 108.9 kB / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.164e-05/0.3786, allocations: 112.9 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.434e-05/0.3787, allocations: 188.2 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-05/0.3788, allocations: 188.1 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.917e-05/0.3788, allocations: 180.3 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.3791, allocations: 417.4 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.635e-05/0.3791, allocations: 105 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.132e-05/0.3792, allocations: 105 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.108e-05/0.3793, allocations: 188.2 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.484e-05/0.3793, allocations: 180.2 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.248e-05/0.3794, allocations: 184.2 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-05/0.3795, allocations: 184.2 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.3796, allocations: 311.7 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.031e-05/0.3797, allocations: 194 kB / 1.095 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.78e-05/0.3798, allocations: 180.2 kB / 1.095 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.63e-05/0.3799, allocations: 104.9 kB / 1.095 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.453e-05/0.38, allocations: 192.1 kB / 1.095 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.262e-05/0.38, allocations: 113 kB / 1.095 GB, free: 9.387 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.888e-05/0.3801, allocations: 119.2 kB / 1.096 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3801, allocations: 0 / 1.096 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002765/0.3804, allocations: 4 kB / 1.096 GB, free: 9.266 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000153/0.3806, allocations: 174 kB / 1.096 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 5.912e-05/0.3806, allocations: 4 kB / 1.096 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.3806, allocations: 4 kB / 1.096 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.687e-06/0.3807, allocations: 7.875 kB / 1.096 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.381, allocations: 455.7 kB / 1.096 GB, free: 8.625 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003129/0.3814, allocations: 208.3 kB / 1.096 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.3816, allocations: 0.6846 MB / 1.097 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.737e-05/0.3817, allocations: 8 kB / 1.097 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.523e-05/0.3817, allocations: 11.44 kB / 1.097 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of SimCode: time 5.71e-07/0.3817, allocations: 0 / 1.097 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of Templates: time 0.002653/0.3844, allocations: 412.5 kB / 1.097 GB, free: 7.262 MB / 0.8575 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches