Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001537/0.001537, allocations: 107.8 kB / 15.99 MB, free: 6.359 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.001817/0.001817, allocations: 195.2 kB / 16.91 MB, free: 6.191 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.442/1.442, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.24/2.24, allocations: 390.3 MB / 0.665 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 64.8 kB / 0.8127 GB, free: 33.14 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2836, allocations: 140.4 MB / 0.9498 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.001784/0.2854, allocations: 0.6579 MB / 0.9504 GB, free: 8.566 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003222/0.2857, allocations: 109.8 kB / 0.9505 GB, free: 8.461 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.354e-05/0.2858, allocations: 0 / 0.9505 GB, free: 8.461 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.312e-05/0.2859, allocations: 3.984 kB / 0.9505 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003054/0.2862, allocations: 27.92 kB / 0.9506 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.275e-05/0.2863, allocations: 0 / 0.9506 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.756e-05/0.2864, allocations: 31.92 kB / 0.9506 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.934e-05/0.2865, allocations: 31.97 kB / 0.9506 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.2866, allocations: 55.89 kB / 0.9507 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.724e-05/0.2867, allocations: 15.92 kB / 0.9507 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.2867, allocations: 4 kB / 0.9507 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.587e-06/0.2867, allocations: 7.938 kB / 0.9507 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.662e-05/0.2867, allocations: 11.98 kB / 0.9507 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.2868, allocations: 15.88 kB / 0.9507 GB, free: 8.258 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.117e-05/0.2868, allocations: 39.94 kB / 0.9508 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.2869, allocations: 0 / 0.9508 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2869, allocations: 0 / 0.9508 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2869, allocations: 3.938 kB / 0.9508 GB, free: 8.215 MB / 0.7325 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.0003056/0.2872, allocations: 355.5 kB / 0.9511 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.2872, allocations: 8.031 kB / 0.9511 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.238e-05/0.2873, allocations: 8.844 kB / 0.9511 GB, free: 7.805 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.2874, allocations: 180.3 kB / 0.9513 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.2874, allocations: 8.312 kB / 0.9513 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.2875, allocations: 384 / 0.9513 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.2876, allocations: 88.38 kB / 0.9514 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.2876, allocations: 0 / 0.9514 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.2876, allocations: 0 / 0.9514 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.2876, allocations: 0 / 0.9514 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.706e-05/0.2877, allocations: 31.91 kB / 0.9514 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/0.2881, allocations: 0.6012 MB / 0.952 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.942e-05/0.2882, allocations: 165.1 kB / 0.9522 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.856e-05/0.2882, allocations: 80.14 kB / 0.9523 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.2882, allocations: 79.28 kB / 0.9523 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.599e-05/0.2883, allocations: 109.8 kB / 0.9524 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.2883, allocations: 0 / 0.9524 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.681e-05/0.2884, allocations: 41.55 kB / 0.9525 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.2884, allocations: 126.7 kB / 0.9526 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.2886, allocations: 161.7 kB / 0.9527 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.2886, allocations: 25.7 kB / 0.9528 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.993e-05/0.2887, allocations: 92.14 kB / 0.9529 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.2887, allocations: 4 kB / 0.9529 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.537e-05/0.2887, allocations: 9.719 kB / 0.9529 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.2888, allocations: 322.8 kB / 0.9532 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.428e-06/0.2888, allocations: 0 / 0.9532 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.264e-05/0.2888, allocations: 4 kB / 0.9532 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.428e-05/0.2889, allocations: 79.22 kB / 0.9533 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.412e-05/0.2889, allocations: 75.28 kB / 0.9533 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.03e-05/0.289, allocations: 41.53 kB / 0.9534 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.266e-05/0.289, allocations: 83.31 kB / 0.9534 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-05/0.289, allocations: 75.28 kB / 0.9535 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.365e-05/0.2891, allocations: 154.6 kB / 0.9537 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.26e-05/0.2891, allocations: 83.22 kB / 0.9537 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.583e-05/0.2892, allocations: 154.5 kB / 0.9539 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.2893, allocations: 83.22 kB / 0.954 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.2894, allocations: 79.28 kB / 0.9541 GB, free: 4.613 MB / 0.7325 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.0001151/0.2895, allocations: 276.3 kB / 0.9543 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.855e-05/0.2895, allocations: 109 kB / 0.9544 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.41e-05/0.2896, allocations: 120.6 kB / 0.9545 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.749e-05/0.2897, allocations: 184.3 kB / 0.9547 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.589e-05/0.2897, allocations: 196.1 kB / 0.9549 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.897e-05/0.2898, allocations: 176.3 kB / 0.9551 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.29, allocations: 417.1 kB / 0.9555 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-05/0.2901, allocations: 109 kB / 0.9556 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.492e-05/0.2901, allocations: 109 kB / 0.9557 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.333e-05/0.2902, allocations: 180.2 kB / 0.9558 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.965e-05/0.2903, allocations: 180.3 kB / 0.956 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.226e-05/0.2903, allocations: 180.2 kB / 0.9562 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.884e-05/0.2904, allocations: 184.2 kB / 0.9564 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.2905, allocations: 311.7 kB / 0.9567 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.568e-05/0.2906, allocations: 186.1 kB / 0.9568 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.34e-05/0.2907, allocations: 180.2 kB / 0.957 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.014e-05/0.2908, allocations: 109 kB / 0.9571 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.538e-05/0.2909, allocations: 184.2 kB / 0.9573 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.51e-05/0.2909, allocations: 108.9 kB / 0.9574 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.765e-05/0.291, allocations: 125.7 kB / 0.9575 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/0.291, allocations: 0 / 0.9575 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002608/0.2913, allocations: 8 kB / 0.9575 GB, free: 0.8359 MB / 0.7325 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.0001199/0.2914, allocations: 174.5 kB / 0.9577 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 4.557e-05/0.2915, allocations: 4 kB / 0.9577 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2915, allocations: 0 / 0.9577 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.785e-06/0.2915, allocations: 0 / 0.9577 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.2918, allocations: 468.6 kB / 0.9581 GB, free: 196 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002854/0.2921, allocations: 238 kB / 0.9584 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.2924, allocations: 0.6922 MB / 0.959 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.373e-05/0.2924, allocations: 7.438 kB / 0.959 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of SimCode: time 4.1e-07/0.2924, allocations: 0 / 0.959 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of Templates: time 0.002014/0.2944, allocations: 0.711 MB / 0.9597 GB, free: 14.49 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches