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/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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006672/0.006672, allocations: 101.8 kB / 15.73 MB, free: 6.043 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.001262/0.001262, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.815/2.815, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.91 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3412, allocations: 157.4 MB / 1.208 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.002021/0.3432, allocations: 0.6001 MB / 1.208 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004154/0.3437, allocations: 103.7 kB / 1.208 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.658e-05/0.3437, allocations: 0 / 1.208 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.3439, allocations: 7.922 kB / 1.208 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000388/0.3443, allocations: 23.92 kB / 1.208 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.213e-05/0.3443, allocations: 8 kB / 1.208 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.047e-05/0.3444, allocations: 39.89 kB / 1.208 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.3446, allocations: 23.98 kB / 1.209 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.3447, allocations: 55.84 kB / 1.209 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.033e-05/0.3448, allocations: 11.92 kB / 1.209 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.3448, allocations: 0 / 1.209 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.383e-06/0.3448, allocations: 8 kB / 1.209 GB, free: 8.766 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.64e-05/0.3449, allocations: 19.97 kB / 1.209 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.716e-05/0.3449, allocations: 19.88 kB / 1.209 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.187e-05/0.345, allocations: 39.81 kB / 1.209 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.345, allocations: 4 kB / 1.209 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.172e-06/0.345, allocations: 0 / 1.209 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.345, allocations: 0 / 1.209 GB, free: 8.684 MB / 0.9669 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.0003632/0.3454, allocations: 351.3 kB / 1.209 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.3455, allocations: 8.625 kB / 1.209 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.893e-05/0.3455, allocations: 8.844 kB / 1.209 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.3457, allocations: 192.2 kB / 1.209 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.3457, allocations: 4.375 kB / 1.209 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.3457, allocations: 4.375 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.3459, allocations: 80.8 kB / 1.209 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3459, allocations: 4.172 kB / 1.209 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.3459, allocations: 7.922 kB / 1.209 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.3459, allocations: 0 / 1.209 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.848e-05/0.346, allocations: 27.92 kB / 1.209 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.3464, allocations: 0.6011 MB / 1.21 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.514e-05/0.3465, allocations: 165.1 kB / 1.21 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.374e-05/0.3465, allocations: 88.14 kB / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.3466, allocations: 75.28 kB / 1.21 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.3466, allocations: 109.8 kB / 1.21 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 2.154e-06/0.3466, allocations: 0 / 1.21 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.917e-05/0.3467, allocations: 37.55 kB / 1.21 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.3468, allocations: 126.7 kB / 1.21 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.3469, allocations: 159 kB / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.347, allocations: 29.7 kB / 1.211 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.087e-05/0.347, allocations: 92.14 kB / 1.211 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.347, allocations: 0 / 1.211 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.472e-05/0.3471, allocations: 9.719 kB / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3472, allocations: 326.8 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.174e-06/0.3472, allocations: 4 kB / 1.211 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.604e-05/0.3472, allocations: 0 / 1.211 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.527e-05/0.3472, allocations: 79.28 kB / 1.211 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.851e-05/0.3473, allocations: 79.31 kB / 1.211 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.743e-05/0.3473, allocations: 41.53 kB / 1.211 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.639e-05/0.3474, allocations: 83.28 kB / 1.211 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-05/0.3474, allocations: 79.22 kB / 1.211 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.498e-05/0.3475, allocations: 158.5 kB / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.002e-05/0.3475, allocations: 79.31 kB / 1.212 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.239e-05/0.3476, allocations: 151.1 kB / 1.212 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.3477, allocations: 91.16 kB / 1.212 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.3477, allocations: 75.28 kB / 1.212 GB, free: 5.062 MB / 0.9669 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.0001116/0.3478, allocations: 268.4 kB / 1.212 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.921e-05/0.3479, allocations: 116.8 kB / 1.212 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.79e-05/0.348, allocations: 113 kB / 1.212 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.443e-05/0.348, allocations: 180.3 kB / 1.213 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.269e-05/0.3481, allocations: 188.2 kB / 1.213 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.255e-05/0.3481, allocations: 180.2 kB / 1.213 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.3484, allocations: 421.1 kB / 1.213 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.512e-05/0.3484, allocations: 104.9 kB / 1.213 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.286e-05/0.3484, allocations: 109 kB / 1.214 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.678e-05/0.3485, allocations: 184.2 kB / 1.214 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.418e-05/0.3486, allocations: 176.3 kB / 1.214 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.328e-05/0.3486, allocations: 180.2 kB / 1.214 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-05/0.3487, allocations: 184.3 kB / 1.214 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.3488, allocations: 315.7 kB / 1.215 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.805e-05/0.3489, allocations: 190 kB / 1.215 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.426e-05/0.349, allocations: 184.2 kB / 1.215 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.303e-05/0.3491, allocations: 101 kB / 1.215 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.969e-05/0.3491, allocations: 184.2 kB / 1.215 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-05/0.3492, allocations: 108.9 kB / 1.215 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.125e-05/0.3493, allocations: 120.7 kB / 1.215 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3493, allocations: 0 / 1.215 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002522/0.3495, allocations: 4 kB / 1.215 GB, free: 1.301 MB / 0.9669 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.0001403/0.3497, allocations: 174.5 kB / 1.216 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 5.206e-05/0.3497, allocations: 0 / 1.216 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3497, allocations: 4 kB / 1.216 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.22e-06/0.3497, allocations: 7.938 kB / 1.216 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.3501, allocations: 466 kB / 1.216 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002793/0.3504, allocations: 220.1 kB / 1.216 GB, free: 420 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.3507, allocations: 0.6807 MB / 1.217 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.086e-05/0.3507, allocations: 11.92 kB / 1.217 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.09e-05/0.3507, allocations: 11.44 kB / 1.217 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.3507, allocations: 4 kB / 1.217 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of Templates: time 0.002458/0.3532, allocations: 406.1 kB / 1.217 GB, free: 15.29 MB / 0.9825 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches