Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006375/0.006375, allocations: 101.9 kB / 15.73 MB, free: 6.062 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.0012/0.0012, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.586/2.586, allocations: 469.4 MB / 0.7422 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 63.89 kB / 1.064 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7813/0.7828, allocations: 159.1 MB / 1.22 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.001648/0.7845, allocations: 0.5872 MB / 1.22 GB, free: 1.641 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003457/0.7849, allocations: 111.7 kB / 1.22 GB, free: 1.531 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.594e-05/0.7849, allocations: 0 / 1.22 GB, free: 1.531 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.033e-05/0.785, allocations: 11.92 kB / 1.22 GB, free: 1.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.7854, allocations: 23.92 kB / 1.22 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.237e-05/0.7854, allocations: 15.97 kB / 1.22 GB, free: 1.48 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.831e-05/0.7855, allocations: 31.86 kB / 1.221 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.24e-05/0.7856, allocations: 23.98 kB / 1.221 GB, free: 1.426 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.7857, allocations: 51.91 kB / 1.221 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.818e-05/0.7858, allocations: 15.91 kB / 1.221 GB, free: 1.359 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.7858, allocations: 4 kB / 1.221 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.775e-06/0.7858, allocations: 4 kB / 1.221 GB, free: 1.352 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.926e-05/0.7859, allocations: 11.98 kB / 1.221 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.289e-05/0.7859, allocations: 19.88 kB / 1.221 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.503e-05/0.786, allocations: 43.47 kB / 1.221 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.786, allocations: 8 kB / 1.221 GB, free: 1.273 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.122e-06/0.786, allocations: 0 / 1.221 GB, free: 1.273 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.585e-06/0.786, allocations: 0 / 1.221 GB, free: 1.273 MB / 0.9356 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.0002889/0.7863, allocations: 347.3 kB / 1.221 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.7864, allocations: 16.56 kB / 1.221 GB, free: 0.8711 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.913e-05/0.7864, allocations: 34.75 kB / 1.221 GB, free: 0.8281 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.7864, allocations: 12.92 kB / 1.221 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.7866, allocations: 192.2 kB / 1.221 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.7866, allocations: 4.375 kB / 1.221 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.7866, allocations: 384 / 1.221 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.7867, allocations: 88.81 kB / 1.221 GB, free: 496 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.7868, allocations: 3.938 kB / 1.221 GB, free: 492 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.7868, allocations: 3.938 kB / 1.221 GB, free: 488 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.7868, allocations: 0 / 1.221 GB, free: 488 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.991e-05/0.7868, allocations: 19.98 kB / 1.221 GB, free: 468 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003916/0.7872, allocations: 0.6051 MB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.224e-05/0.7873, allocations: 169.1 kB / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.462e-05/0.7873, allocations: 84.08 kB / 1.222 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.7874, allocations: 79.22 kB / 1.222 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.7874, allocations: 113.8 kB / 1.222 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.7874, allocations: 0 / 1.222 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 6.532e-05/0.7875, allocations: 37.66 kB / 1.222 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.7875, allocations: 130.7 kB / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.7877, allocations: 159.5 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.7877, allocations: 25.7 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.243e-05/0.7877, allocations: 96.12 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.7877, allocations: 0 / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.149e-05/0.7878, allocations: 9.719 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.291e-05/0.7878, allocations: 318.8 kB / 1.223 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.435e-06/0.7879, allocations: 4 kB / 1.223 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.916e-05/0.7879, allocations: 7.922 kB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.208e-05/0.7879, allocations: 79.28 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.689e-05/0.7879, allocations: 75.28 kB / 1.223 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.481e-05/0.788, allocations: 33.66 kB / 1.223 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/0.788, allocations: 79.28 kB / 1.223 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/0.788, allocations: 75.28 kB / 1.223 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.802e-05/0.7881, allocations: 166.5 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.775e-05/0.7881, allocations: 75.28 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-05/0.7882, allocations: 158.5 kB / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.7883, allocations: 87.22 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.7883, allocations: 75.28 kB / 1.224 GB, free: 13.61 MB / 0.9512 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.0001041/0.7884, allocations: 276.9 kB / 1.224 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.912e-05/0.7885, allocations: 108.9 kB / 1.224 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.7885, allocations: 109.8 kB / 1.224 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-05/0.7886, allocations: 184.2 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.581e-05/0.7886, allocations: 184.3 kB / 1.225 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-05/0.7887, allocations: 188.1 kB / 1.225 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.7889, allocations: 417.2 kB / 1.225 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.442e-05/0.7889, allocations: 101 kB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.819e-05/0.789, allocations: 104.9 kB / 1.226 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-05/0.789, allocations: 184.6 kB / 1.226 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.572e-05/0.7891, allocations: 180.2 kB / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.691e-05/0.7891, allocations: 184.2 kB / 1.226 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.53e-05/0.7892, allocations: 188.3 kB / 1.226 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.7893, allocations: 307.7 kB / 1.227 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.558e-05/0.7893, allocations: 198 kB / 1.227 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.266e-05/0.7894, allocations: 176.3 kB / 1.227 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.286e-05/0.7895, allocations: 105 kB / 1.227 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.7895, allocations: 192.1 kB / 1.227 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.7895, allocations: 101 kB / 1.227 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.696e-05/0.7896, allocations: 129 kB / 1.227 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7896, allocations: 0 / 1.227 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002416/0.7899, allocations: 4 kB / 1.227 GB, free: 9.84 MB / 0.9512 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.0002941/0.7902, allocations: 0.8204 MB / 1.228 GB, free: 8.992 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 4.121e-05/0.7902, allocations: 0 / 1.228 GB, free: 8.992 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7902, allocations: 0 / 1.228 GB, free: 8.992 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.7902, allocations: 0 / 1.228 GB, free: 8.992 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.7905, allocations: 467.6 kB / 1.229 GB, free: 8.531 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.7916, allocations: 1.748 MB / 1.23 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000187/0.7918, allocations: 0.6885 MB / 1.231 GB, free: 5.992 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.426e-05/0.7918, allocations: 4 kB / 1.231 GB, free: 5.988 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.7918, allocations: 11.44 kB / 1.231 GB, free: 5.977 MB / 0.9512 GB Notification: Performance of SimCode: time 2.21e-07/0.7918, allocations: 0 / 1.231 GB, free: 5.977 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02422/0.816, allocations: 1.573 MB / 1.233 GB, free: 4.543 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.715/8.531, allocations: 7.234 kB / 1.233 GB, free: 4.539 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches