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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter,fileNamePrefix="Buildings_9_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.007892/0.007892, allocations: 96.31 kB / 15.73 MB, free: 6.039 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.001678/0.001679, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 4.297 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.377/2.377, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 62.75 kB / 0.9504 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2819, allocations: 140.4 MB / 1.087 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.001991/0.2839, allocations: 0.5952 MB / 1.088 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004147/0.2843, allocations: 124 kB / 1.088 GB, free: 1.301 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.724e-05/0.2844, allocations: 0 / 1.088 GB, free: 1.301 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.2846, allocations: 3.938 kB / 1.088 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003817/0.2849, allocations: 27.92 kB / 1.088 GB, free: 1.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 7.305e-05/0.285, allocations: 7.984 kB / 1.088 GB, free: 1.262 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.857e-05/0.2851, allocations: 27.92 kB / 1.088 GB, free: 1.234 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.2853, allocations: 24.27 kB / 1.088 GB, free: 1.211 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.2854, allocations: 59.88 kB / 1.088 GB, free: 1.152 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.734e-05/0.2855, allocations: 15.92 kB / 1.088 GB, free: 1.137 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.2855, allocations: 4 kB / 1.088 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.999e-06/0.2855, allocations: 4 kB / 1.088 GB, free: 1.129 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.613e-05/0.2856, allocations: 8 kB / 1.088 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.379e-05/0.2856, allocations: 27.8 kB / 1.088 GB, free: 1.094 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.2857, allocations: 47.75 kB / 1.088 GB, free: 1.047 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2857, allocations: 0 / 1.088 GB, free: 1.047 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2857, allocations: 0 / 1.088 GB, free: 1.047 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.78e-06/0.2857, allocations: 0 / 1.088 GB, free: 1.047 MB / 0.8419 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.0003516/0.2861, allocations: 359.2 kB / 1.089 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.2861, allocations: 8.031 kB / 1.089 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.525e-05/0.2862, allocations: 46.69 kB / 1.089 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/0.2862, allocations: 4.891 kB / 1.089 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.2864, allocations: 180.3 kB / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.2864, allocations: 4.375 kB / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.2864, allocations: 4.375 kB / 1.089 GB, free: 364 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.2865, allocations: 76.8 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.2866, allocations: 7.875 kB / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.2866, allocations: 4 kB / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.2866, allocations: 8 kB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.19e-05/0.2866, allocations: 23.97 kB / 1.089 GB, free: 228 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000414/0.2871, allocations: 0.5973 MB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.045e-05/0.2871, allocations: 177.1 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.962e-05/0.2872, allocations: 80.14 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.2872, allocations: 75.28 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.2872, allocations: 105.8 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.2872, allocations: 0 / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.023e-05/0.2873, allocations: 33.66 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.2874, allocations: 126.7 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.2875, allocations: 171 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.2875, allocations: 25.7 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.128e-05/0.2876, allocations: 96.14 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-06/0.2876, allocations: 0 / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.2876, allocations: 9.719 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.2877, allocations: 326.7 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.037e-06/0.2877, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.394e-05/0.2878, allocations: 8 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.53e-05/0.2878, allocations: 79.31 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.923e-05/0.2878, allocations: 75.28 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.86e-05/0.2879, allocations: 33.66 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.2879, allocations: 87.27 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.989e-05/0.288, allocations: 84.58 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.184e-05/0.288, allocations: 150.6 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.055e-05/0.2881, allocations: 75.28 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.542e-05/0.2881, allocations: 158.5 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.2883, allocations: 87.22 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.2883, allocations: 79.22 kB / 1.092 GB, free: 13.38 MB / 0.8575 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.0001092/0.2884, allocations: 272.4 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.039e-05/0.2885, allocations: 108.9 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.215e-05/0.2885, allocations: 120.9 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-05/0.2886, allocations: 180.2 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.991e-05/0.2886, allocations: 180.3 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.567e-05/0.2887, allocations: 188.1 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.2889, allocations: 413.5 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.532e-05/0.289, allocations: 109 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.252e-05/0.289, allocations: 112.9 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-05/0.2891, allocations: 180.3 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-05/0.2891, allocations: 180.2 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.934e-05/0.2892, allocations: 180.3 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-05/0.2893, allocations: 180.2 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.2894, allocations: 315.7 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.039e-05/0.2895, allocations: 190 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.983e-05/0.2896, allocations: 176.3 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.74e-05/0.2897, allocations: 109 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.805e-05/0.2897, allocations: 196.1 kB / 1.095 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/0.2898, allocations: 101 kB / 1.095 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.994e-05/0.2899, allocations: 121.4 kB / 1.095 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2899, allocations: 0 / 1.095 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002773/0.2901, allocations: 4 kB / 1.095 GB, free: 9.613 MB / 0.8575 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.0003533/0.2905, allocations: 0.8158 MB / 1.096 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 3.811e-05/0.2906, allocations: 3.938 kB / 1.096 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2906, allocations: 0 / 1.096 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.356e-06/0.2906, allocations: 4 kB / 1.096 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.2909, allocations: 459.6 kB / 1.096 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.2922, allocations: 1.748 MB / 1.098 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.2924, allocations: 0.6807 MB / 1.099 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.792e-05/0.2924, allocations: 7.984 kB / 1.099 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.968e-05/0.2925, allocations: 15.44 kB / 1.099 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of SimCode: time 2.6e-07/0.2925, allocations: 3.938 kB / 1.099 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01625/0.3087, allocations: 1.544 MB / 1.1 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.67/7.978, allocations: 16.91 kB / 1.1 GB, free: 4.312 MB / 0.8575 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter.csv","/var/lib/jenkins1/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