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.001477/0.001477, allocations: 104.5 kB / 16.27 MB, free: 6.414 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.001725/0.001725, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.447/1.447, allocations: 222.9 MB / 240.9 MB, free: 15.21 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.165/2.165, allocations: 390.3 MB / 0.6653 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 65.52 kB / 0.8132 GB, free: 33.17 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2373, allocations: 140.4 MB / 0.9503 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.001818/0.2392, allocations: 0.5892 MB / 0.9509 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000335/0.2395, allocations: 107.7 kB / 0.951 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.495e-05/0.2396, allocations: 4 kB / 0.951 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.454e-05/0.2397, allocations: 7.922 kB / 0.951 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003134/0.24, allocations: 27.92 kB / 0.951 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.229e-05/0.2401, allocations: 7.984 kB / 0.951 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.314e-05/0.2402, allocations: 31.86 kB / 0.951 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.859e-05/0.2403, allocations: 16 kB / 0.9511 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.2404, allocations: 55.94 kB / 0.9511 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.523e-05/0.2405, allocations: 19.86 kB / 0.9511 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.2405, allocations: 4 kB / 0.9511 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.006e-05/0.2405, allocations: 4 kB / 0.9511 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.053e-05/0.2405, allocations: 10.11 kB / 0.9511 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.244e-05/0.2406, allocations: 23.86 kB / 0.9512 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.609e-05/0.2407, allocations: 43.81 kB / 0.9512 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2407, allocations: 4 kB / 0.9512 GB, free: 7.926 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2407, allocations: 0 / 0.9512 GB, free: 7.926 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.2407, allocations: 0 / 0.9512 GB, free: 7.926 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.000301/0.241, allocations: 355.6 kB / 0.9515 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.241, allocations: 12.03 kB / 0.9516 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.2411, allocations: 4.844 kB / 0.9516 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.2412, allocations: 188.2 kB / 0.9517 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.2413, allocations: 4.312 kB / 0.9517 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.2413, allocations: 4.375 kB / 0.9518 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.2414, allocations: 80.38 kB / 0.9518 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.2414, allocations: 7.938 kB / 0.9518 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.2414, allocations: 0 / 0.9518 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.2415, allocations: 4 kB / 0.9518 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.239e-05/0.2415, allocations: 23.92 kB / 0.9519 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004263/0.2419, allocations: 0.5972 MB / 0.9524 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.146e-05/0.242, allocations: 177.1 kB / 0.9526 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.963e-05/0.2421, allocations: 80.14 kB / 0.9527 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.2421, allocations: 75.28 kB / 0.9528 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.072e-05/0.2421, allocations: 113.8 kB / 0.9529 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.2422, allocations: 0 / 0.9529 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.34e-05/0.2422, allocations: 37.59 kB / 0.9529 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.2423, allocations: 130.7 kB / 0.953 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.2424, allocations: 164.2 kB / 0.9532 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.2425, allocations: 25.7 kB / 0.9532 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.436e-05/0.2425, allocations: 92.14 kB / 0.9533 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-06/0.2425, allocations: 0 / 0.9533 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-05/0.2426, allocations: 13.72 kB / 0.9533 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.2427, allocations: 318.8 kB / 0.9536 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.659e-06/0.2427, allocations: 4 kB / 0.9536 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.007e-05/0.2427, allocations: 4 kB / 0.9536 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.527e-05/0.2428, allocations: 79.22 kB / 0.9537 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.728e-05/0.2428, allocations: 75.28 kB / 0.9538 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.206e-05/0.2429, allocations: 33.61 kB / 0.9538 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/0.2429, allocations: 83.28 kB / 0.9539 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.142e-05/0.2429, allocations: 75.28 kB / 0.954 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.452e-05/0.243, allocations: 166.5 kB / 0.9541 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.897e-05/0.243, allocations: 75.28 kB / 0.9542 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.657e-05/0.2431, allocations: 162.4 kB / 0.9543 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.2432, allocations: 79.31 kB / 0.9544 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.2432, allocations: 75.28 kB / 0.9545 GB, free: 4.316 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.00012/0.2433, allocations: 272.4 kB / 0.9548 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-05/0.2434, allocations: 116.8 kB / 0.9549 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.483e-05/0.2435, allocations: 120.6 kB / 0.955 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.366e-05/0.2435, allocations: 180.2 kB / 0.9551 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.973e-05/0.2436, allocations: 180.2 kB / 0.9553 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.003e-05/0.2437, allocations: 176.3 kB / 0.9555 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.2439, allocations: 429.3 kB / 0.9559 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-05/0.2439, allocations: 105 kB / 0.956 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.24e-05/0.244, allocations: 109 kB / 0.9561 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.938e-05/0.244, allocations: 184.2 kB / 0.9563 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.113e-05/0.2441, allocations: 180.2 kB / 0.9565 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.028e-05/0.2442, allocations: 184.2 kB / 0.9566 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.576e-05/0.2442, allocations: 184.2 kB / 0.9568 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.2444, allocations: 311.7 kB / 0.9571 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.944e-05/0.2444, allocations: 190 kB / 0.9573 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.108e-05/0.2445, allocations: 184.3 kB / 0.9575 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.964e-05/0.2446, allocations: 105 kB / 0.9576 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.2447, allocations: 188.1 kB / 0.9577 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.685e-05/0.2447, allocations: 101 kB / 0.9578 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.563e-05/0.2448, allocations: 123.2 kB / 0.9579 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2448, allocations: 0 / 0.9579 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002515/0.2451, allocations: 4 kB / 0.958 GB, free: 0.543 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.00012/0.2452, allocations: 174.5 kB / 0.9581 GB, free: 372 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 4.036e-05/0.2452, allocations: 7.938 kB / 0.9581 GB, free: 364 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2452, allocations: 0 / 0.9581 GB, free: 364 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.2452, allocations: 0 / 0.9581 GB, free: 364 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.2456, allocations: 463.7 kB / 0.9586 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002767/0.2459, allocations: 226 kB / 0.9588 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.2461, allocations: 0.6922 MB / 0.9595 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.983e-05/0.2462, allocations: 7.438 kB / 0.9595 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.2462, allocations: 0 / 0.9595 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of Templates: time 0.00178/0.2479, allocations: 0.7105 MB / 0.9602 GB, free: 14.21 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