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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.01104/0.01104, allocations: 102.9 kB / 15.73 MB, free: 6.031 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.001761/0.001761, allocations: 199 kB / 16.67 MB, free: 5.969 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.807/2.807, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 59.91 kB / 1.054 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2861, allocations: 157.4 MB / 1.207 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.001877/0.288, allocations: 0.5983 MB / 1.208 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003942/0.2885, allocations: 111.7 kB / 1.208 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.098e-05/0.2885, allocations: 0 / 1.208 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.938e-05/0.2886, allocations: 7.938 kB / 1.208 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003922/0.2891, allocations: 31.91 kB / 1.208 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 7e-05/0.2891, allocations: 4 kB / 1.208 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.616e-05/0.2892, allocations: 35.84 kB / 1.208 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.2894, allocations: 20 kB / 1.208 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.2895, allocations: 59.88 kB / 1.208 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.939e-05/0.2896, allocations: 15.92 kB / 1.208 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.2896, allocations: 4 kB / 1.208 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.075e-06/0.2896, allocations: 0 / 1.208 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.142e-05/0.2897, allocations: 12 kB / 1.208 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.367e-05/0.2897, allocations: 23.8 kB / 1.208 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.253e-05/0.2898, allocations: 47.75 kB / 1.208 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2898, allocations: 0 / 1.208 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2898, allocations: 4 kB / 1.208 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.2898, allocations: 0 / 1.208 GB, free: 9.199 MB / 0.9669 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.0003684/0.2902, allocations: 359.5 kB / 1.209 GB, free: 8.797 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.2903, allocations: 8.625 kB / 1.209 GB, free: 8.789 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.617e-05/0.2903, allocations: 38.75 kB / 1.209 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.13e-05/0.2903, allocations: 8.844 kB / 1.209 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.2905, allocations: 180.3 kB / 1.209 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.813e-06/0.2905, allocations: 384 / 1.209 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.2906, allocations: 8.375 kB / 1.209 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.2907, allocations: 80.75 kB / 1.209 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.2907, allocations: 7.922 kB / 1.209 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.2907, allocations: 4 kB / 1.209 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.2907, allocations: 0 / 1.209 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.085e-05/0.2908, allocations: 23.98 kB / 1.209 GB, free: 8.383 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004566/0.2913, allocations: 0.6011 MB / 1.209 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.293e-05/0.2913, allocations: 169.1 kB / 1.21 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.102e-05/0.2914, allocations: 80.14 kB / 1.21 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.2914, allocations: 79.28 kB / 1.21 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.2915, allocations: 109.8 kB / 1.21 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.2915, allocations: 0 / 1.21 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.869e-05/0.2916, allocations: 33.61 kB / 1.21 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.2916, allocations: 130.6 kB / 1.21 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.2918, allocations: 163.5 kB / 1.21 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.2918, allocations: 25.7 kB / 1.21 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/0.2918, allocations: 92.14 kB / 1.21 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-06/0.2918, allocations: 0 / 1.21 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.497e-05/0.2919, allocations: 17.72 kB / 1.21 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.711e-05/0.292, allocations: 318.8 kB / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.639e-06/0.292, allocations: 0 / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.13e-05/0.292, allocations: 4 kB / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.386e-05/0.292, allocations: 75.28 kB / 1.211 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.046e-05/0.2921, allocations: 75.28 kB / 1.211 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.254e-05/0.2921, allocations: 41.53 kB / 1.211 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/0.2922, allocations: 87.31 kB / 1.211 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-05/0.2922, allocations: 87.16 kB / 1.211 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.206e-05/0.2923, allocations: 154.6 kB / 1.211 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.418e-05/0.2923, allocations: 83.22 kB / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-05/0.2923, allocations: 151.1 kB / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.2925, allocations: 79.22 kB / 1.211 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/0.2925, allocations: 87.2 kB / 1.212 GB, free: 5.535 MB / 0.9669 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.0001218/0.2927, allocations: 276.3 kB / 1.212 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.798e-05/0.2927, allocations: 112.9 kB / 1.212 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.233e-05/0.2928, allocations: 117 kB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.888e-05/0.2928, allocations: 176.3 kB / 1.212 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.377e-05/0.2929, allocations: 180.3 kB / 1.212 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.215e-05/0.293, allocations: 196.1 kB / 1.213 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.2932, allocations: 413.2 kB / 1.213 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.1e-05/0.2932, allocations: 104.9 kB / 1.213 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.341e-05/0.2933, allocations: 105 kB / 1.213 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-05/0.2933, allocations: 176.3 kB / 1.213 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.448e-05/0.2934, allocations: 188.2 kB / 1.213 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.054e-05/0.2934, allocations: 180.3 kB / 1.214 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.283e-05/0.2935, allocations: 184.2 kB / 1.214 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.2936, allocations: 315.7 kB / 1.214 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.972e-05/0.2937, allocations: 186 kB / 1.214 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.402e-05/0.2938, allocations: 188.2 kB / 1.214 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.391e-05/0.2938, allocations: 104.9 kB / 1.215 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.31e-05/0.2939, allocations: 184.2 kB / 1.215 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.2939, allocations: 104.9 kB / 1.215 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.082e-05/0.294, allocations: 124.8 kB / 1.215 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.294, allocations: 0 / 1.215 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002487/0.2943, allocations: 4 kB / 1.215 GB, free: 1.77 MB / 0.9669 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.0003451/0.2946, allocations: 0.8102 MB / 1.216 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 3.995e-05/0.2947, allocations: 4 kB / 1.216 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2947, allocations: 0 / 1.216 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.915e-06/0.2947, allocations: 7.938 kB / 1.216 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.2951, allocations: 465.6 kB / 1.216 GB, free: 476 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.2963, allocations: 1.752 MB / 1.218 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.2966, allocations: 0.6807 MB / 1.219 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.163e-05/0.2966, allocations: 7.984 kB / 1.219 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.24e-05/0.2967, allocations: 19.44 kB / 1.219 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.2967, allocations: 7.938 kB / 1.219 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01877/0.3155, allocations: 1.561 MB / 1.22 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.342/7.658, allocations: 9.875 kB / 1.22 GB, free: 12.47 MB / 0.9825 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