Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.0111/0.0111, allocations: 99.88 kB / 15.73 MB, free: 6.062 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.002123/0.002123, allocations: 195.5 kB / 16.67 MB, free: 5.973 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.748/2.748, allocations: 469.8 MB / 0.7425 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 67.89 kB / 1.065 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075/1.076, allocations: 159.1 MB / 1.221 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.002172/1.079, allocations: 0.595 MB / 1.221 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004514/1.079, allocations: 111.7 kB / 1.221 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.932e-05/1.079, allocations: 0 / 1.221 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001215/1.079, allocations: 0 / 1.221 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004554/1.08, allocations: 31.91 kB / 1.221 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.28e-05/1.08, allocations: 7.938 kB / 1.221 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/1.08, allocations: 27.92 kB / 1.221 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/1.08, allocations: 23.92 kB / 1.221 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/1.08, allocations: 59.88 kB / 1.221 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.872e-05/1.08, allocations: 19.92 kB / 1.221 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/1.08, allocations: 0 / 1.221 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.006e-05/1.08, allocations: 4 kB / 1.221 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.312e-05/1.08, allocations: 8 kB / 1.221 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.648e-05/1.08, allocations: 19.86 kB / 1.221 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/1.08, allocations: 47.41 kB / 1.222 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.08, allocations: 0 / 1.222 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.252e-06/1.08, allocations: 0 / 1.222 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.937e-06/1.08, allocations: 0 / 1.222 GB, free: 1.164 MB / 0.9356 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.0004558/1.081, allocations: 360.1 kB / 1.222 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/1.081, allocations: 8.031 kB / 1.222 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.596e-05/1.081, allocations: 8.922 kB / 1.222 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/1.081, allocations: 184.3 kB / 1.222 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/1.081, allocations: 384 / 1.222 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/1.081, allocations: 4.375 kB / 1.222 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/1.081, allocations: 80.75 kB / 1.222 GB, free: 444 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/1.081, allocations: 4.188 kB / 1.222 GB, free: 440 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/1.081, allocations: 3.938 kB / 1.222 GB, free: 436 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/1.081, allocations: 4 kB / 1.222 GB, free: 432 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.704e-05/1.082, allocations: 31.91 kB / 1.222 GB, free: 400 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006675/1.082, allocations: 0.5934 MB / 1.223 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/1.082, allocations: 177.1 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.717e-05/1.082, allocations: 80.14 kB / 1.223 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.451e-05/1.082, allocations: 75.28 kB / 1.223 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.798e-05/1.082, allocations: 113.8 kB / 1.223 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.473e-06/1.082, allocations: 0 / 1.223 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 9.475e-05/1.083, allocations: 41.59 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.122e-05/1.083, allocations: 126.7 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/1.083, allocations: 156 kB / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/1.083, allocations: 25.7 kB / 1.224 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.012e-05/1.083, allocations: 96.12 kB / 1.224 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-06/1.083, allocations: 0 / 1.224 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.177e-05/1.083, allocations: 9.719 kB / 1.224 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001224/1.083, allocations: 326.8 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.709e-06/1.083, allocations: 0 / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.137e-06/1.083, allocations: 7.922 kB / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.908e-05/1.083, allocations: 79.28 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.678e-05/1.083, allocations: 79.22 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.441e-05/1.083, allocations: 37.66 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.039e-05/1.083, allocations: 79.28 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.869e-05/1.083, allocations: 79.22 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.891e-05/1.083, allocations: 158.6 kB / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.432e-05/1.083, allocations: 79.22 kB / 1.225 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-05/1.083, allocations: 154.6 kB / 1.225 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.352e-05/1.083, allocations: 87.2 kB / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/1.083, allocations: 83.2 kB / 1.225 GB, free: 13.54 MB / 0.9512 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.0001484/1.084, allocations: 272.9 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.714e-05/1.084, allocations: 108.9 kB / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.906e-05/1.084, allocations: 113.7 kB / 1.225 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.143e-05/1.084, allocations: 176.3 kB / 1.225 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.001e-05/1.084, allocations: 192.2 kB / 1.226 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.879e-05/1.084, allocations: 184.2 kB / 1.226 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/1.084, allocations: 417.2 kB / 1.226 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.724e-05/1.084, allocations: 108.9 kB / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.297e-05/1.084, allocations: 101 kB / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.832e-05/1.084, allocations: 184.2 kB / 1.227 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.816e-05/1.084, allocations: 176.6 kB / 1.227 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.444e-05/1.084, allocations: 176.3 kB / 1.227 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-05/1.085, allocations: 192.2 kB / 1.227 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/1.085, allocations: 311.7 kB / 1.227 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.005e-05/1.085, allocations: 190 kB / 1.228 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.9e-05/1.085, allocations: 180.2 kB / 1.228 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.42e-05/1.085, allocations: 112.9 kB / 1.228 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.583e-05/1.085, allocations: 176.3 kB / 1.228 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.493e-05/1.085, allocations: 112.9 kB / 1.228 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.644e-05/1.085, allocations: 125.4 kB / 1.228 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.4e-07/1.085, allocations: 0 / 1.228 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002831/1.085, allocations: 4 kB / 1.228 GB, free: 9.781 MB / 0.9512 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.0001502/1.086, allocations: 178.5 kB / 1.228 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 5.35e-05/1.086, allocations: 0 / 1.228 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.086, allocations: 0 / 1.228 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.256e-06/1.086, allocations: 4 kB / 1.228 GB, free: 9.594 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/1.086, allocations: 463.6 kB / 1.229 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003549/1.086, allocations: 223.9 kB / 1.229 GB, free: 8.891 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/1.087, allocations: 0.6885 MB / 1.23 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.323e-05/1.087, allocations: 7.984 kB / 1.23 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.577e-05/1.087, allocations: 15.38 kB / 1.23 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of SimCode: time 4.2e-07/1.087, allocations: 0 / 1.23 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of Templates: time 0.002605/1.089, allocations: 362.6 kB / 1.23 GB, free: 7.801 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches