Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.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.RealVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaFil.u.1.|reaFil.u.2.|reaFil.u.3.|reaFil.y.1.|reaFil.y.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaFil.u.1.|reaFil.u.2.|reaFil.u.3.|reaFil.y.1.|reaFil.y.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001979/0.00198, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.461/1.461, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.663/2.663, allocations: 437 MB / 0.71 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002485/0.002485, allocations: 67.89 kB / 0.8687 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7139/0.7164, allocations: 151.6 MB / 1.017 GB, free: 2.852 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.001734/0.7182, allocations: 0.7015 MB / 1.017 GB, free: 2.156 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003117/0.7185, allocations: 107.7 kB / 1.018 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.417e-05/0.7185, allocations: 0 / 1.018 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.239e-05/0.7186, allocations: 7.938 kB / 1.018 GB, free: 2.043 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0003091/0.719, allocations: 19.98 kB / 1.018 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.695e-05/0.719, allocations: 11.98 kB / 1.018 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.979e-05/0.7191, allocations: 27.92 kB / 1.018 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.299e-05/0.7192, allocations: 20 kB / 1.018 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.7193, allocations: 67.81 kB / 1.018 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.99e-05/0.7194, allocations: 15.92 kB / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.7194, allocations: 0 / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.246e-06/0.7194, allocations: 8 kB / 1.018 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.177e-05/0.7195, allocations: 15.98 kB / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.038e-05/0.7195, allocations: 15.88 kB / 1.018 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.465e-05/0.7196, allocations: 51.73 kB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.7196, allocations: 0 / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7196, allocations: 0 / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.7196, allocations: 0 / 1.018 GB, free: 1.793 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.0002915/0.7199, allocations: 357.4 kB / 1.018 GB, free: 1.395 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.7199, allocations: 8.031 kB / 1.018 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.189e-05/0.72, allocations: 16.83 kB / 1.018 GB, free: 1.371 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.7201, allocations: 180.3 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.7201, allocations: 4.375 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.7202, allocations: 384 / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.7203, allocations: 84.75 kB / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.7203, allocations: 4.188 kB / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.7203, allocations: 3.938 kB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.7203, allocations: 0 / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.481e-05/0.7204, allocations: 23.98 kB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004196/0.7208, allocations: 0.6012 MB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 7.726e-05/0.7209, allocations: 173.1 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.393e-05/0.7209, allocations: 84.14 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.721, allocations: 75.28 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.246e-05/0.721, allocations: 113.8 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.721, allocations: 0 / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.568e-05/0.7211, allocations: 29.61 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.7212, allocations: 134.7 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.7213, allocations: 159.2 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.7213, allocations: 29.64 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.409e-05/0.7214, allocations: 96.12 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-06/0.7214, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.473e-05/0.7214, allocations: 9.719 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.7216, allocations: 322.8 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.929e-06/0.7216, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.116e-05/0.7216, allocations: 3.984 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.62e-05/0.7216, allocations: 79.31 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.322e-05/0.7217, allocations: 87.25 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.915e-05/0.7217, allocations: 33.61 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.211e-05/0.7218, allocations: 79.28 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-05/0.7218, allocations: 79.22 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.256e-05/0.7219, allocations: 158.5 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.316e-05/0.7219, allocations: 75.28 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.276e-05/0.7219, allocations: 170.5 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.7221, allocations: 83.22 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.7221, allocations: 79.22 kB / 1.021 GB, free: 14.16 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.0001136/0.7222, allocations: 268.9 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.246e-05/0.7223, allocations: 108.9 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.828e-05/0.7224, allocations: 112.8 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.068e-05/0.7224, allocations: 184.2 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.966e-05/0.7225, allocations: 184.3 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.589e-05/0.7225, allocations: 184.1 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.7228, allocations: 413.5 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.174e-05/0.7228, allocations: 104.9 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.001e-05/0.7229, allocations: 109 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.166e-05/0.7229, allocations: 184.3 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.436e-05/0.723, allocations: 184.2 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-05/0.7231, allocations: 180.2 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.928e-05/0.7231, allocations: 180.2 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.7233, allocations: 315.7 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.628e-05/0.7234, allocations: 190 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.04e-05/0.7234, allocations: 176.3 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.675e-05/0.7235, allocations: 108.9 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.697e-05/0.7236, allocations: 180.3 kB / 1.024 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.355e-05/0.7236, allocations: 112.9 kB / 1.024 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.364e-05/0.7237, allocations: 129.5 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.563e-06/0.7237, allocations: 0 / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002526/0.724, allocations: 7.938 kB / 1.025 GB, free: 10.4 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.0001191/0.7241, allocations: 170.5 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.005e-05/0.7241, allocations: 0 / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.7242, allocations: 0 / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.7242, allocations: 8 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.7245, allocations: 455.7 kB / 1.025 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002501/0.7248, allocations: 212.3 kB / 1.025 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.725, allocations: 0.7002 MB / 1.026 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.827e-05/0.725, allocations: 4 kB / 1.026 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.205e-05/0.7251, allocations: 15.38 kB / 1.026 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of SimCode: time 1.353e-06/0.7251, allocations: 0 / 1.026 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of Templates: time 0.002264/0.7273, allocations: 418.3 kB / 1.026 GB, free: 8.379 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches