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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001891/0.001891, allocations: 108 kB / 15.6 MB, free: 124 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 195.5 kB / 16.54 MB, free: 6.668 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.512/1.512, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.101/3.101, allocations: 472.6 MB / 0.7451 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 61.73 kB / 0.912 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.385, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.0018/0.3868, allocations: 0.5924 MB / 1.069 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003494/0.3872, allocations: 123.6 kB / 1.069 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.98e-05/0.3873, allocations: 7.938 kB / 1.069 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.96e-05/0.3874, allocations: 3.938 kB / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003989/0.3878, allocations: 23.92 kB / 1.069 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.507e-05/0.3878, allocations: 7.984 kB / 1.069 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.91e-05/0.388, allocations: 27.97 kB / 1.069 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.3881, allocations: 27.98 kB / 1.069 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.3882, allocations: 54.08 kB / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.348e-05/0.3883, allocations: 11.92 kB / 1.069 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.3883, allocations: 3.938 kB / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.928e-06/0.3883, allocations: 4 kB / 1.069 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.523e-05/0.3884, allocations: 15.97 kB / 1.069 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.708e-05/0.3884, allocations: 19.88 kB / 1.069 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.386e-05/0.3885, allocations: 43.83 kB / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.3885, allocations: 7.984 kB / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.304e-06/0.3885, allocations: 4 kB / 1.069 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.3885, allocations: 0 / 1.069 GB, free: 9.434 MB / 0.8262 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.0004026/0.389, allocations: 343.6 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.389, allocations: 11.97 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.215e-05/0.389, allocations: 4.938 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.3892, allocations: 180.3 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.874e-06/0.3892, allocations: 384 / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.3893, allocations: 8.375 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.3894, allocations: 80.75 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3894, allocations: 192 / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.3894, allocations: 11.92 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.3895, allocations: 0 / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.944e-05/0.3895, allocations: 23.98 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004708/0.39, allocations: 0.6089 MB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.526e-05/0.3901, allocations: 169.1 kB / 1.071 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.536e-05/0.3901, allocations: 88.12 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/0.3901, allocations: 75.28 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.255e-05/0.3902, allocations: 105.8 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.3902, allocations: 4 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.382e-05/0.3903, allocations: 33.61 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.3903, allocations: 130.6 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.3905, allocations: 159.7 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.3905, allocations: 25.7 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.264e-05/0.3906, allocations: 92.14 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-06/0.3906, allocations: 3.938 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/0.3906, allocations: 13.72 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.3908, allocations: 326.8 kB / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.911e-06/0.3908, allocations: 4 kB / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.88e-05/0.3908, allocations: 0 / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.157e-05/0.3909, allocations: 75.28 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.761e-05/0.3909, allocations: 75.28 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.023e-05/0.391, allocations: 37.69 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.167e-05/0.391, allocations: 83.28 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.188e-05/0.3911, allocations: 79.25 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001319/0.3912, allocations: 154.6 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.842e-05/0.3912, allocations: 87.16 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.905e-05/0.3913, allocations: 150.6 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.3914, allocations: 83.12 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.3915, allocations: 87.25 kB / 1.072 GB, free: 5.824 MB / 0.8262 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.0001656/0.3916, allocations: 272.4 kB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.13e-05/0.3917, allocations: 105 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.3918, allocations: 124.6 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.647e-05/0.3919, allocations: 180.3 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.404e-05/0.392, allocations: 176.3 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.994e-05/0.3921, allocations: 192.1 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.3923, allocations: 417.5 kB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.435e-05/0.3924, allocations: 104.9 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.566e-05/0.3924, allocations: 105 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.493e-05/0.3925, allocations: 180.3 kB / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.544e-05/0.3925, allocations: 184.2 kB / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.724e-05/0.3926, allocations: 184.3 kB / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.758e-05/0.3927, allocations: 180.2 kB / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.3929, allocations: 315.6 kB / 1.075 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.586e-05/0.393, allocations: 186 kB / 1.075 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.042e-05/0.393, allocations: 188.3 kB / 1.075 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.897e-05/0.3931, allocations: 108.9 kB / 1.075 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.724e-05/0.3932, allocations: 176.3 kB / 1.076 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-05/0.3933, allocations: 112.9 kB / 1.076 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.585e-05/0.3934, allocations: 120.7 kB / 1.076 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3934, allocations: 0 / 1.076 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002616/0.3936, allocations: 0 / 1.076 GB, free: 2.062 MB / 0.8262 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.0001549/0.3938, allocations: 183 kB / 1.076 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.398e-05/0.3939, allocations: 0 / 1.076 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3939, allocations: 0 / 1.076 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.458e-06/0.3939, allocations: 4 kB / 1.076 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.3943, allocations: 460.2 kB / 1.076 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/0.3946, allocations: 212.2 kB / 1.077 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.3949, allocations: 0.6884 MB / 1.077 GB, free: 480 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.011e-05/0.3949, allocations: 7.984 kB / 1.077 GB, free: 472 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.315e-05/0.3949, allocations: 7.438 kB / 1.077 GB, free: 464 kB / 0.8262 GB Notification: Performance of SimCode: time 3.81e-07/0.395, allocations: 3.938 kB / 1.077 GB, free: 460 kB / 0.8262 GB Notification: Performance of Templates: time 0.002592/0.3975, allocations: 410.2 kB / 1.078 GB, free: 52 kB / 0.8262 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 -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/jenkins/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