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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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.0009301/0.0009302, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.007298/0.007298, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.333/1.333, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.634/2.634, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003351/0.0003352, allocations: 15.62 kB / 0.9029 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2859, allocations: 159.6 MB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.0007273/0.2866, allocations: 333.9 kB / 1.059 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003666/0.287, allocations: 123.7 kB / 1.059 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.83e-05/0.2871, allocations: 3.938 kB / 1.059 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.538e-05/0.2872, allocations: 0 / 1.059 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003762/0.2875, allocations: 23.92 kB / 1.059 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.915e-05/0.2876, allocations: 7.984 kB / 1.059 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.585e-05/0.2877, allocations: 19.98 kB / 1.059 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.2879, allocations: 31.97 kB / 1.059 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.288, allocations: 51.84 kB / 1.059 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.823e-05/0.2881, allocations: 15.92 kB / 1.059 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.278e-06/0.2881, allocations: 0 / 1.059 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.843e-06/0.2881, allocations: 0 / 1.059 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.128e-05/0.2882, allocations: 11.98 kB / 1.059 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.81e-05/0.2882, allocations: 45.58 kB / 1.059 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.862e-05/0.2883, allocations: 47.8 kB / 1.059 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2883, allocations: 0 / 1.059 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2883, allocations: 0 / 1.059 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.2883, allocations: 0 / 1.059 GB, free: 4.16 MB / 0.8106 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.0004072/0.2888, allocations: 335.7 kB / 1.06 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.2888, allocations: 15.97 kB / 1.06 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.989e-05/0.2888, allocations: 38.67 kB / 1.06 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.917e-05/0.2889, allocations: 8.844 kB / 1.06 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.289, allocations: 192.2 kB / 1.06 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.2891, allocations: 8.375 kB / 1.06 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.2891, allocations: 4.375 kB / 1.06 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.2892, allocations: 76.81 kB / 1.06 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.2892, allocations: 7.875 kB / 1.06 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.2892, allocations: 0 / 1.06 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2893, allocations: 0 / 1.06 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.571e-05/0.2893, allocations: 27.92 kB / 1.06 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004251/0.2897, allocations: 0.5973 MB / 1.061 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.243e-05/0.2898, allocations: 165.1 kB / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.949e-05/0.2899, allocations: 88.12 kB / 1.061 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.2899, allocations: 79.28 kB / 1.061 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.2899, allocations: 109.8 kB / 1.061 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 2.395e-06/0.2899, allocations: 0 / 1.061 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.354e-05/0.29, allocations: 37.53 kB / 1.061 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.2901, allocations: 130.7 kB / 1.061 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.2902, allocations: 159.2 kB / 1.061 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.2902, allocations: 29.7 kB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.716e-05/0.2903, allocations: 96.12 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.2903, allocations: 0 / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.348e-05/0.2903, allocations: 9.719 kB / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.2904, allocations: 318.8 kB / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.537e-06/0.2904, allocations: 0 / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.144e-05/0.2905, allocations: 4 kB / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.739e-05/0.2905, allocations: 75.28 kB / 1.062 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.973e-05/0.2905, allocations: 75.28 kB / 1.062 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.822e-05/0.2906, allocations: 41.58 kB / 1.062 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/0.2906, allocations: 83.28 kB / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.438e-05/0.2907, allocations: 79.28 kB / 1.062 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.79e-05/0.2907, allocations: 154.5 kB / 1.062 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.616e-05/0.2908, allocations: 83.2 kB / 1.062 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.046e-05/0.2908, allocations: 154.6 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.291, allocations: 87.16 kB / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.02e-05/0.291, allocations: 75.28 kB / 1.063 GB, free: 0.5117 MB / 0.8106 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.000141/0.2911, allocations: 272.4 kB / 1.063 GB, free: 240 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.723e-05/0.2912, allocations: 113 kB / 1.063 GB, free: 120 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.338e-05/0.2913, allocations: 112.9 kB / 1.063 GB, free: 0 / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001157/0.2914, allocations: 192.3 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-05/0.2914, allocations: 180.2 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.825e-05/0.2915, allocations: 180.2 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003744/0.2919, allocations: 429.1 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.891e-05/0.2919, allocations: 101 kB / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.793e-05/0.292, allocations: 101 kB / 1.064 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001193/0.2921, allocations: 184.2 kB / 1.065 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.198e-05/0.2922, allocations: 184.2 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-05/0.2922, allocations: 184.1 kB / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.696e-05/0.2923, allocations: 180.3 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.2924, allocations: 311.6 kB / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.2926, allocations: 190.1 kB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.943e-05/0.2927, allocations: 184.2 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.752e-05/0.2927, allocations: 101 kB / 1.066 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.941e-05/0.2928, allocations: 184.1 kB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-05/0.2929, allocations: 105 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.928e-05/0.293, allocations: 125.4 kB / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.293, allocations: 0 / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002873/0.2933, allocations: 4 kB / 1.066 GB, free: 12.75 MB / 0.8262 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.0003574/0.2936, allocations: 0.8164 MB / 1.067 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 3.3e-05/0.2937, allocations: 4 kB / 1.067 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2937, allocations: 0 / 1.067 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.767e-06/0.2937, allocations: 4 kB / 1.067 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.294, allocations: 0.5262 MB / 1.068 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.2954, allocations: 1.751 MB / 1.069 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.2957, allocations: 0.6886 MB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.311e-05/0.2957, allocations: 4 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.896e-05/0.2957, allocations: 11.44 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of SimCode: time 2.8e-07/0.2957, allocations: 0 / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00986/0.3056, allocations: 1.365 MB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/0.3058, allocations: 219.2 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.759/2.065, allocations: 0 / 1.071 GB, free: 7.363 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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