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.008225/0.008231, allocations: 99.44 kB / 15.73 MB, free: 6.035 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.001408/0.001408, allocations: 193.3 kB / 16.67 MB, free: 5.961 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.731/2.731, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 67.89 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3909, allocations: 151.6 MB / 1.167 GB, free: 6.82 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.001729/0.3927, allocations: 0.6062 MB / 1.167 GB, free: 6.211 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003823/0.3931, allocations: 108 kB / 1.167 GB, free: 6.105 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.163e-05/0.3931, allocations: 4 kB / 1.167 GB, free: 6.102 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.985e-05/0.3932, allocations: 0 / 1.167 GB, free: 6.102 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003807/0.3936, allocations: 35.89 kB / 1.167 GB, free: 6.066 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.296e-05/0.3937, allocations: 11.94 kB / 1.167 GB, free: 6.055 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.007e-05/0.3938, allocations: 23.98 kB / 1.167 GB, free: 6.031 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.3939, allocations: 19.98 kB / 1.167 GB, free: 6.012 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.394, allocations: 63.88 kB / 1.167 GB, free: 5.949 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.594e-05/0.3941, allocations: 11.92 kB / 1.167 GB, free: 5.938 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.3941, allocations: 4 kB / 1.167 GB, free: 5.934 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.041e-05/0.3941, allocations: 4 kB / 1.167 GB, free: 5.93 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.761e-05/0.3942, allocations: 11.94 kB / 1.167 GB, free: 5.918 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.433e-05/0.3942, allocations: 23.86 kB / 1.168 GB, free: 5.895 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.815e-05/0.3943, allocations: 43.7 kB / 1.168 GB, free: 5.852 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.3943, allocations: 8 kB / 1.168 GB, free: 5.844 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.522e-06/0.3944, allocations: 0 / 1.168 GB, free: 5.844 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.3944, allocations: 0 / 1.168 GB, free: 5.844 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.0005882/0.395, allocations: 351.3 kB / 1.168 GB, free: 5.449 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.395, allocations: 15.97 kB / 1.168 GB, free: 5.434 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.395, allocations: 4.891 kB / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.3952, allocations: 188.3 kB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.143e-06/0.3952, allocations: 384 / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.3953, allocations: 8.375 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.3954, allocations: 76.75 kB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3954, allocations: 4.172 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.3955, allocations: 7.938 kB / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.3955, allocations: 4 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.079e-05/0.3955, allocations: 27.92 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004912/0.396, allocations: 0.5972 MB / 1.169 GB, free: 4.41 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.3961, allocations: 181.1 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.461e-05/0.3962, allocations: 84.14 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001476/0.3963, allocations: 75.28 kB / 1.169 GB, free: 4.062 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/0.3964, allocations: 105.8 kB / 1.169 GB, free: 3.949 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.021e-06/0.3964, allocations: 0 / 1.169 GB, free: 3.949 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 8.179e-05/0.3965, allocations: 33.66 kB / 1.169 GB, free: 3.91 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001879/0.3967, allocations: 134.6 kB / 1.169 GB, free: 3.766 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.3968, allocations: 157.8 kB / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.3968, allocations: 25.7 kB / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.137e-05/0.3969, allocations: 92.14 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.3969, allocations: 0 / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.3969, allocations: 13.72 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3971, allocations: 322.8 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.39e-06/0.3971, allocations: 0 / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.953e-05/0.3971, allocations: 8 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.939e-05/0.3971, allocations: 75.28 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.402e-05/0.3972, allocations: 75.28 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.192e-05/0.3972, allocations: 29.7 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.3973, allocations: 87.28 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.142e-05/0.3974, allocations: 79.22 kB / 1.17 GB, free: 2.777 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.415e-05/0.3974, allocations: 154.5 kB / 1.17 GB, free: 2.625 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.651e-05/0.3975, allocations: 87.25 kB / 1.171 GB, free: 2.539 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.419e-05/0.3975, allocations: 154.6 kB / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.3977, allocations: 83.17 kB / 1.171 GB, free: 2.305 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.3977, allocations: 79.22 kB / 1.171 GB, free: 2.227 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.0001319/0.3979, allocations: 272.4 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.181e-05/0.3979, allocations: 112.9 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.89e-05/0.398, allocations: 124.8 kB / 1.171 GB, free: 1.699 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.881e-05/0.3981, allocations: 180.3 kB / 1.171 GB, free: 1.516 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.118e-05/0.3981, allocations: 176.3 kB / 1.172 GB, free: 1.336 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.193e-05/0.3982, allocations: 184.1 kB / 1.172 GB, free: 1.148 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.3984, allocations: 421.2 kB / 1.172 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.228e-05/0.3985, allocations: 109.2 kB / 1.172 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.595e-05/0.3985, allocations: 101 kB / 1.172 GB, free: 472 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.687e-05/0.3986, allocations: 184.2 kB / 1.173 GB, free: 280 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.438e-05/0.3987, allocations: 188.2 kB / 1.173 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.935e-05/0.3988, allocations: 176.3 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.894e-05/0.3988, allocations: 188.2 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.399, allocations: 307.7 kB / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.639e-05/0.399, allocations: 190 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.143e-05/0.3991, allocations: 180.3 kB / 1.174 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.035e-05/0.3992, allocations: 104.9 kB / 1.174 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.611e-05/0.3993, allocations: 184.2 kB / 1.174 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-05/0.3994, allocations: 112.9 kB / 1.174 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.165e-05/0.3995, allocations: 121.3 kB / 1.174 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3995, allocations: 0 / 1.174 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002646/0.3997, allocations: 4 kB / 1.174 GB, free: 14.46 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.0001414/0.3999, allocations: 174.5 kB / 1.174 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 4.484e-05/0.3999, allocations: 4 kB / 1.174 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3999, allocations: 0 / 1.174 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.436e-06/0.3999, allocations: 4 kB / 1.174 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004765/0.4004, allocations: 459.7 kB / 1.175 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003815/0.4008, allocations: 215.9 kB / 1.175 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.4012, allocations: 0.6885 MB / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.688e-05/0.4012, allocations: 4 kB / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.991e-05/0.4013, allocations: 11.44 kB / 1.176 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of SimCode: time 4.81e-07/0.4013, allocations: 0 / 1.176 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of Templates: time 0.00249/0.4038, allocations: 421.8 kB / 1.176 GB, free: 12.45 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