Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.00111/0.001111, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001454/0.001454, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.71/2.71, allocations: 437.7 MB / 0.7117 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004057/0.0004061, allocations: 16 kB / 0.8722 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.84/0.8404, allocations: 153.8 MB / 1.022 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.001056/0.8415, allocations: 339.6 kB / 1.023 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004658/0.842, allocations: 107.8 kB / 1.023 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.405e-05/0.8421, allocations: 0 / 1.023 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.8423, allocations: 3.938 kB / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000584/0.8428, allocations: 19.98 kB / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 9.582e-05/0.843, allocations: 3.938 kB / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.8431, allocations: 27.97 kB / 1.023 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.8433, allocations: 23.98 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.8435, allocations: 47.89 kB / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.232e-05/0.8436, allocations: 19.86 kB / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.8436, allocations: 0 / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.307e-06/0.8436, allocations: 0 / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.609e-05/0.8437, allocations: 11.94 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.498e-05/0.8438, allocations: 29.7 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.982e-05/0.8439, allocations: 35.94 kB / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.016e-05/0.8439, allocations: 0 / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.717e-06/0.8439, allocations: 0 / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.8439, allocations: 4 kB / 1.023 GB, free: 15.39 MB / 0.7794 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.0005738/0.8445, allocations: 353.1 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.306e-05/0.8446, allocations: 8.562 kB / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.779e-05/0.8446, allocations: 7.906 kB / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.8449, allocations: 179 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.845, allocations: 4 kB / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.845, allocations: 4 kB / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.8452, allocations: 84.2 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.8453, allocations: 0 / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.8453, allocations: 3.938 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.8453, allocations: 0 / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.292e-05/0.8454, allocations: 23.98 kB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006842/0.8461, allocations: 0.605 MB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.8462, allocations: 169.1 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.959e-05/0.8462, allocations: 88.06 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.546e-05/0.8463, allocations: 75.28 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.81e-05/0.8463, allocations: 109.8 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.8463, allocations: 4 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001041/0.8465, allocations: 29.7 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.869e-05/0.8465, allocations: 126.7 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.8467, allocations: 156.2 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.8468, allocations: 29.64 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.431e-05/0.8468, allocations: 96.12 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-06/0.8468, allocations: 0 / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.31e-07/0.8468, allocations: 0 / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.847, allocations: 326.8 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-06/0.847, allocations: 0 / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.847e-05/0.8471, allocations: 7.938 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.911e-05/0.8471, allocations: 75.28 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.727e-05/0.8471, allocations: 75.28 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.551e-05/0.8472, allocations: 45.58 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.998e-05/0.8473, allocations: 83.28 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.193e-05/0.8473, allocations: 79.22 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.35e-05/0.8474, allocations: 154.6 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.3e-05/0.8475, allocations: 79.27 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.765e-05/0.8476, allocations: 158.5 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.8477, allocations: 75.28 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.272e-05/0.8478, allocations: 79.22 kB / 1.026 GB, free: 11.8 MB / 0.7794 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.0001978/0.848, allocations: 280.3 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.158e-05/0.8481, allocations: 108.9 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.082e-05/0.8481, allocations: 112.9 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.088e-05/0.8482, allocations: 184.2 kB / 1.027 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.779e-05/0.8483, allocations: 176.3 kB / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.823e-05/0.8484, allocations: 180.2 kB / 1.027 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003153/0.8487, allocations: 429.2 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.214e-05/0.8488, allocations: 101 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.952e-05/0.8489, allocations: 105.2 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.942e-05/0.849, allocations: 176.3 kB / 1.028 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.35e-05/0.8491, allocations: 184.2 kB / 1.028 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.807e-05/0.8492, allocations: 196.3 kB / 1.028 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.273e-05/0.8493, allocations: 180.3 kB / 1.029 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.8495, allocations: 307.6 kB / 1.029 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.8496, allocations: 197.9 kB / 1.029 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.8497, allocations: 180.3 kB / 1.029 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.8499, allocations: 109 kB / 1.029 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.85, allocations: 180.2 kB / 1.03 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.286e-05/0.85, allocations: 105 kB / 1.03 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001187/0.8502, allocations: 123.2 kB / 1.03 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8502, allocations: 0 / 1.03 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000313/0.8505, allocations: 4 kB / 1.03 GB, free: 8.039 MB / 0.7794 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.0001987/0.8507, allocations: 182.5 kB / 1.03 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.625e-05/0.8508, allocations: 7.938 kB / 1.03 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.8508, allocations: 0 / 1.03 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.863e-06/0.8508, allocations: 0 / 1.03 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004887/0.8513, allocations: 0.5238 MB / 1.03 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003463/0.8516, allocations: 206.3 kB / 1.031 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.852, allocations: 0.6887 MB / 1.031 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.349e-05/0.852, allocations: 8 kB / 1.031 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.8521, allocations: 7.438 kB / 1.031 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of SimCode: time 4.71e-07/0.8521, allocations: 0 / 1.031 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of Templates: time 0.002863/0.8549, allocations: 398.4 kB / 1.032 GB, free: 5.969 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches