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.007644/0.007644, allocations: 95.16 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.00157/0.00157, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.528/1.528, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.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.84/2.84, allocations: 437 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 63.89 kB / 1.019 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4136, allocations: 151.6 MB / 1.167 GB, free: 6.773 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.001775/0.4154, allocations: 0.5828 MB / 1.167 GB, free: 6.188 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004107/0.4158, allocations: 116 kB / 1.167 GB, free: 6.074 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.309e-05/0.4159, allocations: 0 / 1.167 GB, free: 6.074 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.416, allocations: 3.984 kB / 1.167 GB, free: 6.07 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003882/0.4164, allocations: 39.8 kB / 1.167 GB, free: 6.031 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.354e-05/0.4165, allocations: 3.984 kB / 1.167 GB, free: 6.027 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.792e-05/0.4166, allocations: 23.98 kB / 1.167 GB, free: 6.004 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.4167, allocations: 23.98 kB / 1.167 GB, free: 5.98 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.4168, allocations: 55.89 kB / 1.167 GB, free: 5.926 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.77e-05/0.4169, allocations: 19.92 kB / 1.167 GB, free: 5.906 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.4169, allocations: 0 / 1.167 GB, free: 5.906 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.243e-05/0.417, allocations: 8 kB / 1.167 GB, free: 5.898 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.751e-05/0.417, allocations: 19.86 kB / 1.167 GB, free: 5.879 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.969e-05/0.4171, allocations: 15.88 kB / 1.167 GB, free: 5.863 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.4172, allocations: 55.73 kB / 1.168 GB, free: 5.809 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.4172, allocations: 0 / 1.168 GB, free: 5.809 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.402e-06/0.4172, allocations: 0 / 1.168 GB, free: 5.809 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.792e-06/0.4172, allocations: 0 / 1.168 GB, free: 5.809 MB / 0.92 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.0003924/0.4176, allocations: 351.3 kB / 1.168 GB, free: 5.414 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.4176, allocations: 8.031 kB / 1.168 GB, free: 5.406 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.4177, allocations: 8.891 kB / 1.168 GB, free: 5.398 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.4179, allocations: 180.3 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.4179, allocations: 384 / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.4179, allocations: 12.38 kB / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.4181, allocations: 80.73 kB / 1.168 GB, free: 5.078 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.4181, allocations: 4.172 kB / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.4181, allocations: 7.938 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.4181, allocations: 0 / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.384e-05/0.4182, allocations: 27.92 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000449/0.4186, allocations: 0.6051 MB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.106e-05/0.4187, allocations: 173.1 kB / 1.169 GB, free: 4.195 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.211e-05/0.4188, allocations: 80.14 kB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.4188, allocations: 79.28 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/0.4189, allocations: 105.8 kB / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.001e-06/0.4189, allocations: 0 / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 7.598e-05/0.4189, allocations: 37.59 kB / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/0.419, allocations: 126.7 kB / 1.169 GB, free: 3.742 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.4192, allocations: 159.5 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.4192, allocations: 29.7 kB / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.945e-05/0.4192, allocations: 92.14 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-06/0.4193, allocations: 0 / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/0.4193, allocations: 21.66 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.4194, allocations: 318.8 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.59e-06/0.4194, allocations: 0 / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.094e-05/0.4194, allocations: 4 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.864e-05/0.4195, allocations: 79.28 kB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-05/0.4195, allocations: 79.31 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.549e-05/0.4196, allocations: 33.69 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.714e-05/0.4196, allocations: 87.22 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.554e-05/0.4196, allocations: 75.28 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.11e-05/0.4197, allocations: 150.6 kB / 1.17 GB, free: 2.594 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.816e-05/0.4197, allocations: 83.22 kB / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.106e-05/0.4198, allocations: 150.6 kB / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.42, allocations: 91.11 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.42, allocations: 79.28 kB / 1.171 GB, free: 2.195 MB / 0.92 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.0001363/0.4201, allocations: 268.4 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.26e-05/0.4202, allocations: 112.9 kB / 1.171 GB, free: 1.805 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.106e-05/0.4203, allocations: 116.8 kB / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.227e-05/0.4203, allocations: 184.3 kB / 1.171 GB, free: 1.492 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.946e-05/0.4204, allocations: 180.2 kB / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.853e-05/0.4205, allocations: 184.2 kB / 1.172 GB, free: 1.121 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.4207, allocations: 417.2 kB / 1.172 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.4e-05/0.4207, allocations: 105.2 kB / 1.172 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-05/0.4208, allocations: 105 kB / 1.172 GB, free: 448 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-05/0.4209, allocations: 188.2 kB / 1.173 GB, free: 252 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-05/0.4209, allocations: 188.2 kB / 1.173 GB, free: 56 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.596e-05/0.421, allocations: 176.3 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.704e-05/0.4211, allocations: 180.2 kB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.4212, allocations: 319.7 kB / 1.173 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.21e-05/0.4213, allocations: 182 kB / 1.174 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.408e-05/0.4214, allocations: 188.2 kB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.516e-05/0.4215, allocations: 104.9 kB / 1.174 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.223e-05/0.4215, allocations: 176.3 kB / 1.174 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-05/0.4216, allocations: 112.9 kB / 1.174 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.268e-05/0.4217, allocations: 129 kB / 1.174 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4217, allocations: 0 / 1.174 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002594/0.4219, allocations: 0 / 1.174 GB, free: 14.43 MB / 0.9356 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.0001482/0.4221, allocations: 185 kB / 1.174 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 5.34e-05/0.4222, allocations: 0 / 1.174 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4222, allocations: 0 / 1.174 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.4222, allocations: 0 / 1.174 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.4225, allocations: 463.7 kB / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002854/0.4228, allocations: 219.8 kB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.4231, allocations: 0.6807 MB / 1.176 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.19e-05/0.4231, allocations: 7.984 kB / 1.176 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.389e-05/0.4232, allocations: 11.44 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of SimCode: time 3.61e-07/0.4232, allocations: 4 kB / 1.176 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of Templates: time 0.002452/0.4256, allocations: 405.9 kB / 1.176 GB, free: 12.42 MB / 0.9356 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