Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001752/0.001752, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002556/0.002556, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.51/1.51, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.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.565/2.565, allocations: 390.2 MB / 0.6642 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001572, allocations: 67.89 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8814/0.883, allocations: 140.4 MB / 0.9489 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.002133/0.8852, allocations: 0.6573 MB / 0.9496 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005115/0.8857, allocations: 113.8 kB / 0.9497 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.332e-05/0.8857, allocations: 1.531 kB / 0.9497 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.8859, allocations: 3.938 kB / 0.9497 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003999/0.8863, allocations: 27 kB / 0.9497 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.429e-05/0.8864, allocations: 9.531 kB / 0.9497 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.677e-05/0.8865, allocations: 27.64 kB / 0.9497 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.8866, allocations: 23.33 kB / 0.9498 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.8867, allocations: 53.91 kB / 0.9498 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.107e-05/0.8868, allocations: 11.88 kB / 0.9498 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.8868, allocations: 2.75 kB / 0.9498 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/0.8868, allocations: 1.312 kB / 0.9498 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.289e-05/0.8869, allocations: 17.45 kB / 0.9498 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.726e-05/0.8869, allocations: 19.98 kB / 0.9499 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.313e-05/0.887, allocations: 48.19 kB / 0.9499 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.8871, allocations: 1.375 kB / 0.9499 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.302e-06/0.8871, allocations: 0 / 0.9499 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.8871, allocations: 3.938 kB / 0.9499 GB, free: 8.465 MB / 0.7169 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.0003511/0.8874, allocations: 360.4 kB / 0.9503 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.8875, allocations: 8.25 kB / 0.9503 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.8875, allocations: 8.969 kB / 0.9503 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.8877, allocations: 176.5 kB / 0.9504 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.8877, allocations: 5.75 kB / 0.9505 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.8877, allocations: 3.125 kB / 0.9505 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.8879, allocations: 82.61 kB / 0.9505 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.8879, allocations: 4.188 kB / 0.9505 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.8879, allocations: 9.312 kB / 0.9505 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.8879, allocations: 1.375 kB / 0.9505 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.26e-05/0.888, allocations: 24.3 kB / 0.9506 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.8884, allocations: 0.5956 MB / 0.9512 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.849e-05/0.8884, allocations: 182.4 kB / 0.9513 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.05e-05/0.8885, allocations: 80.14 kB / 0.9514 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.8885, allocations: 75.28 kB / 0.9515 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.8885, allocations: 107.2 kB / 0.9516 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.8885, allocations: 0 / 0.9516 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.064e-05/0.8886, allocations: 36.36 kB / 0.9516 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.8886, allocations: 132 kB / 0.9517 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.8888, allocations: 160.8 kB / 0.9519 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.8888, allocations: 25.7 kB / 0.9519 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.498e-05/0.8888, allocations: 96.27 kB / 0.952 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-06/0.8888, allocations: 0 / 0.952 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.068e-05/0.8889, allocations: 11.09 kB / 0.952 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.367e-05/0.8889, allocations: 325.5 kB / 0.9523 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.511e-06/0.8889, allocations: 0 / 0.9523 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.2e-05/0.889, allocations: 10.78 kB / 0.9523 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.987e-05/0.889, allocations: 80.66 kB / 0.9524 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/0.889, allocations: 75.28 kB / 0.9525 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.679e-05/0.8891, allocations: 35.19 kB / 0.9525 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/0.8891, allocations: 80.78 kB / 0.9526 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.259e-05/0.8891, allocations: 84.58 kB / 0.9527 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.901e-05/0.8892, allocations: 158.6 kB / 0.9528 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.421e-05/0.8892, allocations: 80.59 kB / 0.9529 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.346e-05/0.8892, allocations: 151.9 kB / 0.9531 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.8894, allocations: 84.59 kB / 0.9531 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.8894, allocations: 80.59 kB / 0.9532 GB, free: 5.016 MB / 0.7169 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 8.29e-05/0.8895, allocations: 275.2 kB / 0.9535 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.454e-05/0.8895, allocations: 111.6 kB / 0.9536 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.673e-05/0.8896, allocations: 120.7 kB / 0.9537 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.563e-05/0.8896, allocations: 176.3 kB / 0.9539 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.883e-05/0.8896, allocations: 177.6 kB / 0.954 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-05/0.8897, allocations: 189.5 kB / 0.9542 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.8898, allocations: 417.7 kB / 0.9546 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.11e-05/0.8899, allocations: 106.3 kB / 0.9547 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.06e-05/0.8899, allocations: 105 kB / 0.9548 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.623e-05/0.8899, allocations: 185.6 kB / 0.955 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/0.89, allocations: 185.6 kB / 0.9552 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.304e-05/0.89, allocations: 181.6 kB / 0.9553 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.118e-05/0.89, allocations: 184.2 kB / 0.9555 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.658e-05/0.8901, allocations: 317.1 kB / 0.9558 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.785e-05/0.8902, allocations: 182.2 kB / 0.956 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.091e-05/0.8903, allocations: 177.6 kB / 0.9562 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.895e-05/0.8903, allocations: 108.9 kB / 0.9563 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.8904, allocations: 181.6 kB / 0.9564 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.8904, allocations: 114.2 kB / 0.9565 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.169e-05/0.8905, allocations: 118.7 kB / 0.9567 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8905, allocations: 1.188 kB / 0.9567 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002616/0.8907, allocations: 2.531 kB / 0.9567 GB, free: 1.32 MB / 0.7169 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.0001124/0.8909, allocations: 177.1 kB / 0.9568 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.988e-05/0.8909, allocations: 0 / 0.9568 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.8909, allocations: 1.562 kB / 0.9568 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.8909, allocations: 0 / 0.9568 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.8912, allocations: 0.5279 MB / 0.9573 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002509/0.8915, allocations: 216.7 kB / 0.9576 GB, free: 424 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.8917, allocations: 0.6869 MB / 0.9582 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.058e-05/0.8918, allocations: 3.062 kB / 0.9582 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.353e-05/0.8918, allocations: 9.938 kB / 0.9582 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.8918, allocations: 3.938 kB / 0.9582 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.002473/0.8943, allocations: 414.5 kB / 0.9586 GB, free: 15.49 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches