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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.006324/0.006325, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001342/0.001342, allocations: 193.5 kB / 16.79 MB, free: 5.809 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.397/1.397, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.744/2.744, allocations: 461.9 MB / 0.7348 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 65.52 kB / 0.8991 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2915, allocations: 157.4 MB / 1.053 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.002148/0.2937, allocations: 0.6592 MB / 1.053 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004073/0.2942, allocations: 111.7 kB / 1.054 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.641e-05/0.2942, allocations: 0 / 1.054 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.2943, allocations: 3.938 kB / 1.054 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003364/0.2947, allocations: 27.97 kB / 1.054 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.887e-05/0.2948, allocations: 8 kB / 1.054 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.999e-05/0.2948, allocations: 23.92 kB / 1.054 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.594e-05/0.2949, allocations: 31.97 kB / 1.054 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.2951, allocations: 55.89 kB / 1.054 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.11e-05/0.2951, allocations: 7.938 kB / 1.054 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.2952, allocations: 0 / 1.054 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.141e-05/0.2952, allocations: 8 kB / 1.054 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.492e-05/0.2952, allocations: 15.92 kB / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.758e-05/0.2953, allocations: 23.84 kB / 1.054 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.727e-05/0.2953, allocations: 31.95 kB / 1.054 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2954, allocations: 0 / 1.054 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.12e-07/0.2954, allocations: 0 / 1.054 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.2954, allocations: 0 / 1.054 GB, free: 7.23 MB / 0.8106 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.0004288/0.2958, allocations: 351.6 kB / 1.054 GB, free: 6.836 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.2958, allocations: 11.97 kB / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.2959, allocations: 12.78 kB / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.2961, allocations: 184.3 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.2961, allocations: 4.375 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.2961, allocations: 4.375 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.2963, allocations: 76.81 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.2963, allocations: 8.062 kB / 1.054 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.2963, allocations: 3.938 kB / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.2963, allocations: 0 / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.769e-05/0.2964, allocations: 27.98 kB / 1.054 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004613/0.2968, allocations: 0.605 MB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.97e-05/0.2969, allocations: 165.1 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.173e-05/0.297, allocations: 92.08 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.297, allocations: 79.22 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/0.2971, allocations: 113.8 kB / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.2971, allocations: 0 / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 8.513e-05/0.2972, allocations: 29.7 kB / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.975e-05/0.2972, allocations: 126.7 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.2974, allocations: 155.4 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.2974, allocations: 29.7 kB / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.431e-05/0.2975, allocations: 100.1 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-06/0.2975, allocations: 0 / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.252e-05/0.2975, allocations: 9.719 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.2976, allocations: 322.8 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.843e-06/0.2976, allocations: 3.938 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.724e-05/0.2977, allocations: 3.984 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.47e-05/0.2977, allocations: 79.28 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.318e-05/0.2977, allocations: 79.31 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.486e-05/0.2978, allocations: 37.61 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.718e-05/0.2978, allocations: 80.53 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.769e-05/0.2979, allocations: 75.28 kB / 1.056 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.084e-05/0.2979, allocations: 158.5 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.399e-05/0.298, allocations: 79.27 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-05/0.2981, allocations: 158.5 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.2982, allocations: 83.22 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/0.2983, allocations: 75.28 kB / 1.057 GB, free: 3.613 MB / 0.8106 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.0001259/0.2984, allocations: 272.3 kB / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.06e-05/0.2985, allocations: 108.9 kB / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.523e-05/0.2986, allocations: 113.1 kB / 1.057 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.006e-05/0.2986, allocations: 196.2 kB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.299e-05/0.2987, allocations: 180.3 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-05/0.2988, allocations: 184.1 kB / 1.058 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/0.2991, allocations: 421.1 kB / 1.058 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.305e-05/0.2991, allocations: 101 kB / 1.059 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.233e-05/0.2992, allocations: 112.9 kB / 1.059 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.775e-05/0.2993, allocations: 176.3 kB / 1.059 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.293e-05/0.2993, allocations: 180.2 kB / 1.059 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.186e-05/0.2994, allocations: 184.2 kB / 1.059 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.216e-05/0.2995, allocations: 184.2 kB / 1.059 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.2996, allocations: 311.6 kB / 1.06 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.673e-05/0.2997, allocations: 197.9 kB / 1.06 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.237e-05/0.2998, allocations: 176.3 kB / 1.06 GB, free: 388 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.041e-05/0.2998, allocations: 101 kB / 1.06 GB, free: 280 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.853e-05/0.2999, allocations: 184.2 kB / 1.06 GB, free: 88 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.117e-05/0.3, allocations: 112.9 kB / 1.06 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.207e-05/0.3001, allocations: 128.4 kB / 1.06 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3001, allocations: 0 / 1.06 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002605/0.3003, allocations: 4 kB / 1.06 GB, free: 15.84 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.000144/0.3005, allocations: 170.5 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.357e-05/0.3005, allocations: 3.938 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3005, allocations: 4 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.233e-06/0.3006, allocations: 8 kB / 1.061 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.301, allocations: 0.5155 MB / 1.061 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002904/0.3013, allocations: 243.7 kB / 1.061 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.3015, allocations: 0.6926 MB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.873e-05/0.3016, allocations: 7.438 kB / 1.062 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.3016, allocations: 0 / 1.062 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of Templates: time 0.001892/0.3035, allocations: 0.6989 MB / 1.063 GB, free: 13.43 MB / 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/jenkins1/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