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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001044/0.001045, allocations: 98.88 kB / 16.02 MB, free: 76 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.001155/0.001155, allocations: 187.2 kB / 16.92 MB, free: 6.762 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.464/1.464, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.459/2.459, allocations: 390.9 MB / 0.667 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.0003521, allocations: 8 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.821/0.8214, allocations: 142.4 MB / 0.9557 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.000746/0.8222, allocations: 334.9 kB / 0.956 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003811/0.8226, allocations: 100.2 kB / 0.9561 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.384e-05/0.8226, allocations: 1.219 kB / 0.9561 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.343e-05/0.8227, allocations: 3.938 kB / 0.9561 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003074/0.823, allocations: 25.98 kB / 0.9562 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.866e-05/0.8231, allocations: 10.34 kB / 0.9562 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.705e-05/0.8232, allocations: 26.89 kB / 0.9562 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.977e-05/0.8233, allocations: 23.67 kB / 0.9562 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.8234, allocations: 39.31 kB / 0.9563 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.84e-05/0.8234, allocations: 23.81 kB / 0.9563 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.8235, allocations: 0 / 0.9563 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.893e-06/0.8235, allocations: 1.125 kB / 0.9563 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.013e-05/0.8235, allocations: 14.3 kB / 0.9563 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.696e-05/0.8236, allocations: 45.36 kB / 0.9563 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.749e-05/0.8236, allocations: 34.56 kB / 0.9564 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.8236, allocations: 0 / 0.9564 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.455e-06/0.8236, allocations: 1.375 kB / 0.9564 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.8237, allocations: 0 / 0.9564 GB, free: 7.207 MB / 0.7169 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.000247/0.8239, allocations: 346.8 kB / 0.9567 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.824, allocations: 8.812 kB / 0.9567 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.824, allocations: 4.219 kB / 0.9567 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.8241, allocations: 185.2 kB / 0.9569 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.8241, allocations: 6.812 kB / 0.9569 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.8242, allocations: 2.531 kB / 0.9569 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.8243, allocations: 89.55 kB / 0.957 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.8243, allocations: 0 / 0.957 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.8243, allocations: 1.125 kB / 0.957 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.8243, allocations: 4.875 kB / 0.957 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.719e-05/0.8244, allocations: 25.55 kB / 0.957 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000329/0.8247, allocations: 0.6031 MB / 0.9576 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.523e-05/0.8248, allocations: 170.3 kB / 0.9578 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.57e-05/0.8248, allocations: 80.14 kB / 0.9579 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.8248, allocations: 79.28 kB / 0.9579 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.8248, allocations: 107 kB / 0.958 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.8249, allocations: 0 / 0.958 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.235e-05/0.8249, allocations: 40.84 kB / 0.9581 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.825, allocations: 132.2 kB / 0.9582 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.8251, allocations: 158.8 kB / 0.9583 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.324e-06/0.8251, allocations: 25.7 kB / 0.9584 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.349e-05/0.8251, allocations: 99.53 kB / 0.9585 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.8251, allocations: 1.25 kB / 0.9585 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.437e-05/0.8252, allocations: 9.719 kB / 0.9585 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.374e-05/0.8252, allocations: 317 kB / 0.9588 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.915e-06/0.8252, allocations: 0 / 0.9588 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.829e-05/0.8253, allocations: 6.516 kB / 0.9588 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.249e-05/0.8253, allocations: 76.41 kB / 0.9589 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/0.8253, allocations: 75.28 kB / 0.9589 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.881e-05/0.8253, allocations: 30.42 kB / 0.959 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.8254, allocations: 85.81 kB / 0.959 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.8254, allocations: 86.2 kB / 0.9591 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.406e-05/0.8254, allocations: 155.9 kB / 0.9593 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.094e-05/0.8254, allocations: 79.22 kB / 0.9593 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.371e-05/0.8255, allocations: 159.9 kB / 0.9595 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.8256, allocations: 84.61 kB / 0.9596 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.8256, allocations: 84.53 kB / 0.9597 GB, free: 3.766 MB / 0.7169 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 6.931e-05/0.8257, allocations: 270.3 kB / 0.9599 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/0.8257, allocations: 104.3 kB / 0.96 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.08e-05/0.8258, allocations: 116 kB / 0.9601 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.128e-05/0.8258, allocations: 177.4 kB / 0.9603 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.783e-05/0.8258, allocations: 197.5 kB / 0.9605 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.037e-05/0.8259, allocations: 181.2 kB / 0.9607 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.826, allocations: 413.3 kB / 0.9611 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/0.826, allocations: 110.2 kB / 0.9612 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.528e-05/0.8261, allocations: 102.2 kB / 0.9613 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.718e-05/0.8261, allocations: 185.5 kB / 0.9614 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.8261, allocations: 181 kB / 0.9616 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.579e-05/0.8262, allocations: 181.2 kB / 0.9618 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-05/0.8262, allocations: 189.2 kB / 0.962 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.033e-05/0.8263, allocations: 309.9 kB / 0.9623 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-05/0.8263, allocations: 196.3 kB / 0.9624 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.299e-05/0.8263, allocations: 178.2 kB / 0.9626 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.54e-05/0.8264, allocations: 110.4 kB / 0.9627 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.8264, allocations: 180.2 kB / 0.9629 GB, free: 288 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.8265, allocations: 106.2 kB / 0.963 GB, free: 176 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.193e-05/0.8266, allocations: 123 kB / 0.9631 GB, free: 76 kB / 0.7169 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8266, allocations: 5.188 kB / 0.9631 GB, free: 72 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002387/0.8268, allocations: 2.219 kB / 0.9631 GB, free: 72 kB / 0.7169 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.0001437/0.827, allocations: 172.5 kB / 0.9633 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 4.23e-05/0.827, allocations: 1.156 kB / 0.9633 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.827, allocations: 0 / 0.9633 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.763e-06/0.827, allocations: 1.344 kB / 0.9633 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.8274, allocations: 0.5284 MB / 0.9638 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.8278, allocations: 242.4 kB / 0.964 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.8281, allocations: 0.6907 MB / 0.9647 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/0.8282, allocations: 13.94 kB / 0.9647 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.8282, allocations: 0 / 0.9647 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of Templates: time 0.002221/0.8304, allocations: 0.6926 MB / 0.9654 GB, free: 14.08 MB / 0.7325 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