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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001486/0.001486, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001471/0.001471, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.443/1.443, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.483/2.483, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 66.48 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3371, allocations: 153 MB / 1.027 GB, free: 2.074 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.002162/0.3393, allocations: 0.6139 MB / 1.027 GB, free: 1.465 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004134/0.3398, allocations: 118.1 kB / 1.027 GB, free: 1.352 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.393e-05/0.3398, allocations: 0 / 1.027 GB, free: 1.352 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.3399, allocations: 4 kB / 1.027 GB, free: 1.348 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004134/0.3404, allocations: 31.89 kB / 1.027 GB, free: 1.316 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.162e-05/0.3404, allocations: 3.938 kB / 1.027 GB, free: 1.312 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.522e-05/0.3405, allocations: 27.97 kB / 1.028 GB, free: 1.285 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.3406, allocations: 20 kB / 1.028 GB, free: 1.266 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.3408, allocations: 55.89 kB / 1.028 GB, free: 1.211 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.72e-05/0.3409, allocations: 19.91 kB / 1.028 GB, free: 1.191 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.3409, allocations: 4 kB / 1.028 GB, free: 1.188 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.06e-05/0.3409, allocations: 4 kB / 1.028 GB, free: 1.184 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.481e-05/0.341, allocations: 15.94 kB / 1.028 GB, free: 1.168 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.941e-05/0.341, allocations: 23.8 kB / 1.028 GB, free: 1.145 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.337e-05/0.3411, allocations: 43.83 kB / 1.028 GB, free: 1.102 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3411, allocations: 4 kB / 1.028 GB, free: 1.098 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.355e-06/0.3411, allocations: 0 / 1.028 GB, free: 1.098 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.3411, allocations: 0 / 1.028 GB, free: 1.098 MB / 0.795 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.0004519/0.3416, allocations: 347.4 kB / 1.028 GB, free: 0.707 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.3416, allocations: 12.03 kB / 1.028 GB, free: 0.6953 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.3417, allocations: 8.844 kB / 1.028 GB, free: 0.6875 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.3419, allocations: 184.3 kB / 1.028 GB, free: 480 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.3419, allocations: 4.375 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.3419, allocations: 4.375 kB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.3421, allocations: 76.75 kB / 1.028 GB, free: 380 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.3421, allocations: 192 / 1.028 GB, free: 380 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.3421, allocations: 7.938 kB / 1.028 GB, free: 372 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.3422, allocations: 4 kB / 1.028 GB, free: 368 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.598e-05/0.3422, allocations: 23.92 kB / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005269/0.3427, allocations: 0.6011 MB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.852e-05/0.3428, allocations: 181 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.691e-05/0.3429, allocations: 80.14 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.655e-05/0.3429, allocations: 79.28 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.382e-05/0.343, allocations: 105.8 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.343, allocations: 0 / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.845e-05/0.3431, allocations: 33.64 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.676e-05/0.3431, allocations: 130.6 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.3433, allocations: 157.8 kB / 1.03 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.3433, allocations: 29.7 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.041e-05/0.3434, allocations: 96.14 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.3434, allocations: 0 / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.734e-05/0.3434, allocations: 13.72 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.3436, allocations: 318.8 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.61e-06/0.3436, allocations: 0 / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.431e-05/0.3436, allocations: 12 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.826e-05/0.3437, allocations: 75.28 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.047e-05/0.3437, allocations: 79.31 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.447e-05/0.3438, allocations: 33.61 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.398e-05/0.3439, allocations: 83.28 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.485e-05/0.3439, allocations: 79.22 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.03e-05/0.344, allocations: 154.5 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.113e-05/0.344, allocations: 79.22 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.302e-05/0.3441, allocations: 154.6 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.3443, allocations: 91.25 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/0.3443, allocations: 79.22 kB / 1.031 GB, free: 13.48 MB / 0.8106 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.0001756/0.3445, allocations: 268.4 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.3446, allocations: 112.9 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.075e-05/0.3447, allocations: 116.8 kB / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00011/0.3448, allocations: 180.3 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000158/0.345, allocations: 180.2 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.01e-05/0.345, allocations: 184.2 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.3453, allocations: 417.5 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-05/0.3453, allocations: 104.9 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.476e-05/0.3454, allocations: 105 kB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.653e-05/0.3455, allocations: 196.2 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.943e-05/0.3456, allocations: 180.3 kB / 1.033 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.457e-05/0.3456, allocations: 180.2 kB / 1.033 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.526e-05/0.3457, allocations: 180.2 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.3458, allocations: 319.6 kB / 1.034 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-05/0.3459, allocations: 190 kB / 1.034 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.254e-05/0.346, allocations: 180.3 kB / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.998e-05/0.3461, allocations: 104.9 kB / 1.034 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.972e-05/0.3462, allocations: 180.2 kB / 1.034 GB, free: 9.961 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.252e-05/0.3463, allocations: 112.9 kB / 1.034 GB, free: 9.844 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.512e-05/0.3464, allocations: 125.4 kB / 1.034 GB, free: 9.723 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3464, allocations: 0 / 1.034 GB, free: 9.723 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002457/0.3466, allocations: 4 kB / 1.034 GB, free: 9.719 MB / 0.8106 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.0001528/0.3468, allocations: 174.5 kB / 1.035 GB, free: 9.535 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 4.49e-05/0.3468, allocations: 3.938 kB / 1.035 GB, free: 9.531 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3469, allocations: 0 / 1.035 GB, free: 9.531 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.075e-06/0.3469, allocations: 3.984 kB / 1.035 GB, free: 9.527 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.3472, allocations: 463.7 kB / 1.035 GB, free: 9.07 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003035/0.3476, allocations: 196.3 kB / 1.035 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.3479, allocations: 0.6885 MB / 1.036 GB, free: 8.137 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.925e-05/0.3479, allocations: 4 kB / 1.036 GB, free: 8.133 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.452e-05/0.348, allocations: 7.438 kB / 1.036 GB, free: 8.125 MB / 0.8106 GB Notification: Performance of SimCode: time 2.7e-07/0.348, allocations: 4 kB / 1.036 GB, free: 8.121 MB / 0.8106 GB Notification: Performance of Templates: time 0.002575/0.3505, allocations: 413.8 kB / 1.036 GB, free: 7.719 MB / 0.8106 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 -s cvode -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/jenkins1/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