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.001854/0.001854, allocations: 108 kB / 15.61 MB, free: 152 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.001977/0.001977, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.625/1.625, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.955/2.955, allocations: 437 MB / 0.7104 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002239/0.00224, allocations: 71.89 kB / 0.8692 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7087/0.7109, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.002273/0.7132, allocations: 0.6001 MB / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004217/0.7137, allocations: 103.7 kB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.179e-05/0.7137, allocations: 0 / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.7139, allocations: 3.938 kB / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0003867/0.7143, allocations: 39.84 kB / 1.018 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.854e-05/0.7144, allocations: 11.98 kB / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.214e-05/0.7145, allocations: 27.92 kB / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.7146, allocations: 19.98 kB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.7147, allocations: 59.89 kB / 1.018 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.127e-05/0.7148, allocations: 15.92 kB / 1.018 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.7148, allocations: 0 / 1.018 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.157e-06/0.7149, allocations: 4 kB / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.631e-05/0.7149, allocations: 11.98 kB / 1.018 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.051e-05/0.715, allocations: 19.88 kB / 1.018 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.726e-05/0.7151, allocations: 43.81 kB / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.7151, allocations: 0 / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7151, allocations: 0 / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.7151, allocations: 0 / 1.018 GB, free: 1.539 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.0004375/0.7155, allocations: 353.3 kB / 1.019 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.7156, allocations: 8.031 kB / 1.019 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.258e-05/0.7156, allocations: 12.84 kB / 1.019 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.7158, allocations: 188.1 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.7159, allocations: 4.375 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.7159, allocations: 4.375 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.7161, allocations: 76.81 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.7161, allocations: 4.188 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.7161, allocations: 7.922 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.7161, allocations: 3.938 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.405e-05/0.7162, allocations: 27.92 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005408/0.7167, allocations: 0.5972 MB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.7169, allocations: 173.1 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.255e-05/0.7169, allocations: 84.17 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.29e-05/0.717, allocations: 75.28 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.963e-05/0.717, allocations: 113.8 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.263e-06/0.717, allocations: 0 / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 9.283e-05/0.7171, allocations: 29.61 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.125e-05/0.7172, allocations: 134.7 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.7174, allocations: 159.2 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.7174, allocations: 25.7 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.063e-05/0.7175, allocations: 92.14 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.7175, allocations: 0 / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/0.7175, allocations: 9.719 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.7177, allocations: 326.8 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.19e-06/0.7177, allocations: 4 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.158e-05/0.7177, allocations: 4 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.592e-05/0.7178, allocations: 79.28 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.13e-05/0.7178, allocations: 79.22 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.625e-05/0.7179, allocations: 41.59 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.428e-05/0.7179, allocations: 79.28 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-05/0.718, allocations: 75.28 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.365e-05/0.7181, allocations: 158.5 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.236e-05/0.7181, allocations: 79.28 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.832e-05/0.7182, allocations: 154.5 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.7184, allocations: 83.22 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.7184, allocations: 79.22 kB / 1.022 GB, free: 13.92 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.0001699/0.7186, allocations: 269.3 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.046e-05/0.7187, allocations: 120.8 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.41e-05/0.7188, allocations: 116.8 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.806e-05/0.7188, allocations: 180.2 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.643e-05/0.7189, allocations: 180.3 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.495e-05/0.719, allocations: 180.2 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003066/0.7193, allocations: 429.1 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.541e-05/0.7194, allocations: 101 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.414e-05/0.7195, allocations: 108.9 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.102e-05/0.7195, allocations: 180.3 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.287e-05/0.7196, allocations: 176.3 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-05/0.7197, allocations: 184.5 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.25e-05/0.7198, allocations: 180.3 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.72, allocations: 319.6 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.7201, allocations: 190 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.646e-05/0.7202, allocations: 180.2 kB / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.989e-05/0.7203, allocations: 109 kB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.011e-05/0.7204, allocations: 180.2 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.643e-05/0.7205, allocations: 108.9 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001089/0.7206, allocations: 125 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7206, allocations: 0 / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000272/0.7209, allocations: 4 kB / 1.025 GB, free: 10.16 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.0001792/0.7211, allocations: 174.5 kB / 1.025 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.068e-05/0.7211, allocations: 8 kB / 1.025 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/0.7211, allocations: 7.938 kB / 1.025 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.7211, allocations: 0 / 1.025 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/0.7216, allocations: 453.4 kB / 1.026 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000353/0.722, allocations: 216.3 kB / 1.026 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.7223, allocations: 0.6807 MB / 1.026 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.361e-05/0.7224, allocations: 7.984 kB / 1.026 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.828e-05/0.7224, allocations: 11.44 kB / 1.026 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of SimCode: time 6.51e-07/0.7224, allocations: 0 / 1.026 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of Templates: time 0.003099/0.7255, allocations: 410.5 kB / 1.027 GB, free: 8.148 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=400 -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