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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001673/0.001673, allocations: 108.4 kB / 16.41 MB, free: 6.492 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.00221/0.00221, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.402/1.402, 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 10.1.1-maint.10.0.x/package.mo): time 2.512/2.512, allocations: 437 MB / 0.7112 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 63.91 kB / 1.019 GB, free: 9.5 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7563/0.7578, allocations: 151.7 MB / 1.167 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.001769/0.7596, allocations: 0.5929 MB / 1.168 GB, free: 3.32 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003818/0.76, allocations: 103.7 kB / 1.168 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.855e-05/0.76, allocations: 3.938 kB / 1.168 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.7602, allocations: 7.984 kB / 1.168 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003695/0.7605, allocations: 27.92 kB / 1.168 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.313e-05/0.7606, allocations: 11.98 kB / 1.168 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.633e-05/0.7607, allocations: 27.86 kB / 1.168 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.7608, allocations: 23.98 kB / 1.168 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.7609, allocations: 51.95 kB / 1.168 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.801e-05/0.761, allocations: 15.92 kB / 1.168 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.761, allocations: 4 kB / 1.168 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.358e-06/0.761, allocations: 7.938 kB / 1.168 GB, free: 3.039 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.374e-05/0.7611, allocations: 15.98 kB / 1.168 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.91e-05/0.7611, allocations: 15.88 kB / 1.168 GB, free: 3.008 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.112e-05/0.7612, allocations: 51.73 kB / 1.168 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.7612, allocations: 0 / 1.168 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7612, allocations: 0 / 1.168 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.7613, allocations: 0 / 1.168 GB, free: 2.957 MB / 0.8887 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.0003928/0.7617, allocations: 354.8 kB / 1.169 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.7617, allocations: 8.031 kB / 1.169 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.7617, allocations: 8.938 kB / 1.169 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.7619, allocations: 182.3 kB / 1.169 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.7619, allocations: 12.38 kB / 1.169 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.762, allocations: 384 / 1.169 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.7621, allocations: 88.73 kB / 1.169 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.7621, allocations: 192 / 1.169 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.7621, allocations: 3.938 kB / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.7622, allocations: 0 / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.458e-05/0.7622, allocations: 23.98 kB / 1.169 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004649/0.7627, allocations: 0.6113 MB / 1.169 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.492e-05/0.7628, allocations: 169.1 kB / 1.17 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.125e-05/0.7628, allocations: 84.14 kB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.7628, allocations: 75.28 kB / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.7629, allocations: 109.8 kB / 1.17 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.7629, allocations: 0 / 1.17 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 6.98e-05/0.763, allocations: 29.61 kB / 1.17 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/0.763, allocations: 130.7 kB / 1.17 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.7632, allocations: 165.7 kB / 1.17 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.7632, allocations: 29.7 kB / 1.17 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.967e-05/0.7633, allocations: 92.14 kB / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.276e-06/0.7633, allocations: 0 / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/0.7633, allocations: 13.7 kB / 1.17 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.7634, allocations: 322.8 kB / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.04e-06/0.7634, allocations: 0 / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.744e-05/0.7635, allocations: 0 / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.116e-05/0.7635, allocations: 83.31 kB / 1.171 GB, free: 172 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.108e-05/0.7635, allocations: 75.28 kB / 1.171 GB, free: 96 kB / 0.8887 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.51e-05/0.7636, allocations: 33.69 kB / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.821e-05/0.7637, allocations: 79.28 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.848e-05/0.7637, allocations: 79.22 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.391e-05/0.7638, allocations: 154.6 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.335e-05/0.7638, allocations: 79.22 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.745e-05/0.7639, allocations: 158.6 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.764, allocations: 87.12 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-05/0.764, allocations: 83.2 kB / 1.172 GB, free: 15.34 MB / 0.9044 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.0001251/0.7642, allocations: 268.3 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.648e-05/0.7642, allocations: 112.9 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.807e-05/0.7643, allocations: 112.8 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.256e-05/0.7643, allocations: 184.2 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-05/0.7644, allocations: 184.3 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-05/0.7645, allocations: 192.2 kB / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002242/0.7647, allocations: 409.2 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.454e-05/0.7648, allocations: 108.9 kB / 1.173 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.457e-05/0.7648, allocations: 109 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.521e-05/0.7649, allocations: 180.3 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.295e-05/0.7649, allocations: 180.5 kB / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.957e-05/0.765, allocations: 176.3 kB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.491e-05/0.7651, allocations: 184.2 kB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.7652, allocations: 319.7 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.601e-05/0.7653, allocations: 189.9 kB / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.7654, allocations: 184.2 kB / 1.174 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.573e-05/0.7655, allocations: 104.9 kB / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.651e-05/0.7656, allocations: 184.3 kB / 1.175 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.341e-05/0.7656, allocations: 108.9 kB / 1.175 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.109e-05/0.7657, allocations: 130 kB / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7657, allocations: 0 / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002589/0.766, allocations: 4 kB / 1.175 GB, free: 11.57 MB / 0.9044 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.0001518/0.7661, allocations: 170.5 kB / 1.175 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 4.836e-05/0.7662, allocations: 4 kB / 1.175 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.7662, allocations: 0 / 1.175 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.472e-06/0.7662, allocations: 4 kB / 1.175 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.7666, allocations: 459.7 kB / 1.176 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002852/0.7669, allocations: 237.8 kB / 1.176 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.7672, allocations: 0.6885 MB / 1.176 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.076e-05/0.7672, allocations: 15.38 kB / 1.177 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of SimCode: time 3.5e-07/0.7672, allocations: 4 kB / 1.177 GB, free: 9.93 MB / 0.9044 GB Notification: Performance of Templates: time 0.001907/0.7691, allocations: 0.7022 MB / 1.177 GB, free: 9.23 MB / 0.9044 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/jenkins1/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