Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001273/0.001273, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001944/0.001944, allocations: 194.8 kB / 16.25 MB, free: 6.645 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.528/1.528, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.716/2.716, allocations: 437 MB / 0.7101 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 63.91 kB / 0.8687 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8109/0.8122, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.001846/0.8141, allocations: 0.6627 MB / 1.017 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003257/0.8145, allocations: 115.5 kB / 1.018 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.486e-05/0.8145, allocations: 0 / 1.018 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.8146, allocations: 3.984 kB / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0003594/0.815, allocations: 31.92 kB / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.45e-05/0.8151, allocations: 4 kB / 1.018 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.959e-05/0.8152, allocations: 31.91 kB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.8153, allocations: 23.98 kB / 1.018 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.8154, allocations: 63.83 kB / 1.018 GB, free: 1.781 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.104e-05/0.8155, allocations: 15.92 kB / 1.018 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.8155, allocations: 0 / 1.018 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.053e-05/0.8155, allocations: 4 kB / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.538e-05/0.8156, allocations: 15.98 kB / 1.018 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.341e-05/0.8156, allocations: 23.86 kB / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.91e-05/0.8157, allocations: 43.81 kB / 1.018 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.8157, allocations: 0 / 1.018 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.764e-06/0.8157, allocations: 0 / 1.018 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.8157, allocations: 0 / 1.018 GB, free: 1.68 MB / 0.7637 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.0003847/0.8161, allocations: 353.3 kB / 1.018 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.8162, allocations: 8.031 kB / 1.018 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.8162, allocations: 8.844 kB / 1.018 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.8164, allocations: 180.2 kB / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.8164, allocations: 12.31 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.8165, allocations: 4.375 kB / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.8166, allocations: 76.8 kB / 1.018 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.8166, allocations: 4.188 kB / 1.018 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.8167, allocations: 7.938 kB / 1.018 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.8167, allocations: 0 / 1.018 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.585e-05/0.8167, allocations: 27.92 kB / 1.018 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005097/0.8172, allocations: 0.605 MB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.8173, allocations: 169.1 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.772e-05/0.8174, allocations: 80.14 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.8174, allocations: 83.27 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.21e-05/0.8175, allocations: 105.8 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.8175, allocations: 4 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.963e-05/0.8176, allocations: 33.55 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.329e-05/0.8177, allocations: 130.7 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.8178, allocations: 155.4 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.8178, allocations: 29.7 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.064e-05/0.8179, allocations: 96.08 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.8179, allocations: 4 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.892e-05/0.818, allocations: 17.7 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.8181, allocations: 318.8 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.542e-06/0.8181, allocations: 0 / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.128e-05/0.8181, allocations: 4 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.359e-05/0.8182, allocations: 75.31 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.864e-05/0.8182, allocations: 83.28 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.964e-05/0.8183, allocations: 45.56 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.875e-05/0.8183, allocations: 79.28 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.813e-05/0.8184, allocations: 75.28 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.163e-05/0.8184, allocations: 154.5 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.701e-05/0.8185, allocations: 79.28 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.131e-05/0.8185, allocations: 150.6 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.8187, allocations: 87.16 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/0.8187, allocations: 87.27 kB / 1.021 GB, free: 14.05 MB / 0.7794 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.0001289/0.8189, allocations: 260.9 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.234e-05/0.819, allocations: 124.8 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.057e-05/0.819, allocations: 108.9 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.648e-05/0.8191, allocations: 176.3 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.846e-05/0.8192, allocations: 184.2 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-05/0.8192, allocations: 188.2 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.8195, allocations: 417.4 kB / 1.022 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-05/0.8195, allocations: 105 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.137e-05/0.8196, allocations: 101 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.095e-05/0.8196, allocations: 192.2 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.066e-05/0.8197, allocations: 184.3 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.523e-05/0.8198, allocations: 180.2 kB / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-05/0.8198, allocations: 176.3 kB / 1.023 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.82, allocations: 323.6 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.567e-05/0.8201, allocations: 182.1 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.105e-05/0.8201, allocations: 184.2 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.447e-05/0.8202, allocations: 101 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/0.8203, allocations: 176.3 kB / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-05/0.8203, allocations: 120.9 kB / 1.024 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.46e-05/0.8204, allocations: 124.7 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8204, allocations: 0 / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002482/0.8207, allocations: 8 kB / 1.025 GB, free: 10.29 MB / 0.7794 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.000132/0.8208, allocations: 174.5 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.125e-05/0.8208, allocations: 0 / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8208, allocations: 0 / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.795e-06/0.8209, allocations: 4 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.8212, allocations: 467.6 kB / 1.025 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002624/0.8215, allocations: 214.4 kB / 1.025 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.8217, allocations: 0.6846 MB / 1.026 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.666e-05/0.8218, allocations: 7.984 kB / 1.026 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.154e-05/0.8218, allocations: 11.44 kB / 1.026 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of SimCode: time 2.01e-07/0.8218, allocations: 0 / 1.026 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of Templates: time 0.002314/0.8241, allocations: 417.6 kB / 1.026 GB, free: 8.277 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches