Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.BooleanVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booFil.u.1.|booFil.u.2.|booFil.u.3.|booFil.y.1.|booFil.y.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booFil.u.1.|booFil.u.2.|booFil.u.3.|booFil.y.1.|booFil.y.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 97.78 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.001708/0.001709, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.479/1.479, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.596/2.596, allocations: 437.8 MB / 0.7128 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003264, allocations: 8 kB / 0.8735 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7047/0.705, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.0007619/0.7059, allocations: 332.6 kB / 1.024 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004117/0.7063, allocations: 107.7 kB / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.239e-05/0.7063, allocations: 0 / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.17e-05/0.7064, allocations: 3.984 kB / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003376/0.7068, allocations: 31.91 kB / 1.024 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.709e-05/0.7069, allocations: 8 kB / 1.024 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.549e-05/0.7069, allocations: 35.84 kB / 1.024 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.771e-05/0.7071, allocations: 16 kB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.7072, allocations: 55.83 kB / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.579e-05/0.7073, allocations: 19.91 kB / 1.024 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.7073, allocations: 0 / 1.024 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.397e-06/0.7073, allocations: 4 kB / 1.024 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.532e-05/0.7073, allocations: 4 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.302e-05/0.7074, allocations: 45.56 kB / 1.024 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.094e-05/0.7075, allocations: 31.94 kB / 1.024 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.7075, allocations: 0 / 1.024 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.362e-06/0.7075, allocations: 0 / 1.024 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.7075, allocations: 0 / 1.024 GB, free: 15.19 MB / 0.7794 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.000332/0.7078, allocations: 349.3 kB / 1.025 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.7079, allocations: 12.03 kB / 1.025 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.7079, allocations: 4.844 kB / 1.025 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.7081, allocations: 184.3 kB / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.7081, allocations: 384 / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.7081, allocations: 8.359 kB / 1.025 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.7083, allocations: 80.8 kB / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.7083, allocations: 192 / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.7083, allocations: 7.938 kB / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.7083, allocations: 4 kB / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.813e-05/0.7084, allocations: 27.91 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000487/0.7089, allocations: 0.6011 MB / 1.026 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.316e-05/0.709, allocations: 173.1 kB / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.474e-05/0.709, allocations: 80.14 kB / 1.026 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.7091, allocations: 75.28 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.098e-05/0.7091, allocations: 105.8 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 2.485e-06/0.7091, allocations: 0 / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.547e-05/0.7092, allocations: 37.55 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.7093, allocations: 134.7 kB / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.7094, allocations: 158.7 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.7094, allocations: 25.7 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.936e-05/0.7095, allocations: 92.14 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.744e-06/0.7095, allocations: 3.938 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.94e-05/0.7095, allocations: 9.719 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.7097, allocations: 322.8 kB / 1.027 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.416e-06/0.7097, allocations: 0 / 1.027 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.532e-05/0.7097, allocations: 15.94 kB / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.653e-05/0.7097, allocations: 75.28 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.093e-05/0.7098, allocations: 75.28 kB / 1.027 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.445e-05/0.7098, allocations: 41.58 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.765e-05/0.7099, allocations: 79.28 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.922e-05/0.7099, allocations: 79.27 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.818e-05/0.71, allocations: 158.5 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.77e-05/0.71, allocations: 79.31 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.245e-05/0.7101, allocations: 150.6 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.7102, allocations: 91.72 kB / 1.028 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/0.7103, allocations: 75.28 kB / 1.028 GB, free: 11.58 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.0001238/0.7104, allocations: 272.9 kB / 1.028 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.712e-05/0.7105, allocations: 108.8 kB / 1.028 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.43e-05/0.7105, allocations: 116.8 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.462e-05/0.7106, allocations: 180.3 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.048e-05/0.7107, allocations: 180.2 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-05/0.7107, allocations: 184.2 kB / 1.029 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.7109, allocations: 417.4 kB / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.359e-05/0.711, allocations: 105 kB / 1.029 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.234e-05/0.711, allocations: 113 kB / 1.029 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-05/0.7111, allocations: 188.2 kB / 1.029 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.456e-05/0.7111, allocations: 176.3 kB / 1.03 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.044e-05/0.7112, allocations: 184.2 kB / 1.03 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-05/0.7113, allocations: 180.3 kB / 1.03 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.7114, allocations: 315.7 kB / 1.03 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.32e-05/0.7115, allocations: 186 kB / 1.03 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.37e-05/0.7115, allocations: 180.2 kB / 1.031 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.878e-05/0.7116, allocations: 101 kB / 1.031 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.7117, allocations: 196.2 kB / 1.031 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.369e-05/0.7117, allocations: 104.9 kB / 1.031 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.1e-05/0.7118, allocations: 120.7 kB / 1.031 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.323e-06/0.7118, allocations: 0 / 1.031 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002557/0.7121, allocations: 7.938 kB / 1.031 GB, free: 7.82 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.0001337/0.7122, allocations: 170.5 kB / 1.031 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 3.824e-05/0.7123, allocations: 4 kB / 1.031 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7123, allocations: 4 kB / 1.031 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.316e-06/0.7123, allocations: 3.938 kB / 1.031 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.7127, allocations: 0.5224 MB / 1.032 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003169/0.713, allocations: 235.7 kB / 1.032 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.7132, allocations: 0.6926 MB / 1.033 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.881e-05/0.7133, allocations: 11.38 kB / 1.033 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.7133, allocations: 0 / 1.033 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of Templates: time 0.001994/0.7153, allocations: 0.7029 MB / 1.033 GB, free: 5.406 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches