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.000883/0.0008826, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005444/0.005444, allocations: 169 kB / 16.26 MB, free: 6.652 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.303/1.303, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.59/2.59, allocations: 443.4 MB / 0.7176 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003908/0.0003908, allocations: 9.094 kB / 0.8797 GB, free: 41.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2714, allocations: 155.2 MB / 1.031 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.0006776/0.2721, allocations: 334.6 kB / 1.032 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003213/0.2724, allocations: 115.7 kB / 1.032 GB, free: 3.84 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.534e-05/0.2725, allocations: 4 kB / 1.032 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.138e-05/0.2725, allocations: 3.938 kB / 1.032 GB, free: 3.832 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002577/0.2728, allocations: 19.98 kB / 1.032 GB, free: 3.812 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.539e-05/0.2729, allocations: 11.98 kB / 1.032 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.296e-05/0.2729, allocations: 31.86 kB / 1.032 GB, free: 3.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.518e-05/0.273, allocations: 20.27 kB / 1.032 GB, free: 3.75 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.2732, allocations: 47.89 kB / 1.032 GB, free: 3.703 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.05e-05/0.2732, allocations: 15.92 kB / 1.032 GB, free: 3.688 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.2732, allocations: 4 kB / 1.032 GB, free: 3.684 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.43e-06/0.2732, allocations: 3.938 kB / 1.032 GB, free: 3.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.367e-05/0.2733, allocations: 7.984 kB / 1.032 GB, free: 3.672 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.567e-05/0.2733, allocations: 41.58 kB / 1.032 GB, free: 3.625 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.776e-05/0.2734, allocations: 43.81 kB / 1.032 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.2734, allocations: 0 / 1.032 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2734, allocations: 0 / 1.032 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.2734, allocations: 4 kB / 1.032 GB, free: 3.578 MB / 0.7794 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.0002561/0.2737, allocations: 343.3 kB / 1.032 GB, free: 3.191 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.2737, allocations: 8.031 kB / 1.032 GB, free: 3.184 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.245e-05/0.2738, allocations: 46.67 kB / 1.032 GB, free: 3.129 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.575e-05/0.2738, allocations: 8.844 kB / 1.032 GB, free: 3.121 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.2739, allocations: 184.2 kB / 1.032 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.274, allocations: 4.375 kB / 1.033 GB, free: 2.898 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.274, allocations: 4.375 kB / 1.033 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.2741, allocations: 76.81 kB / 1.033 GB, free: 2.805 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.2741, allocations: 7.875 kB / 1.033 GB, free: 2.797 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.2741, allocations: 8 kB / 1.033 GB, free: 2.789 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2742, allocations: 0 / 1.033 GB, free: 2.789 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.092e-05/0.2742, allocations: 19.98 kB / 1.033 GB, free: 2.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.2746, allocations: 0.5934 MB / 1.033 GB, free: 2.117 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.924e-05/0.2747, allocations: 185.6 kB / 1.033 GB, free: 1.926 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.862e-05/0.2747, allocations: 80.14 kB / 1.033 GB, free: 1.844 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.2747, allocations: 75.28 kB / 1.034 GB, free: 1.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.2748, allocations: 105.9 kB / 1.034 GB, free: 1.656 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.2748, allocations: 0 / 1.034 GB, free: 1.656 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.348e-05/0.2748, allocations: 41.61 kB / 1.034 GB, free: 1.609 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.2749, allocations: 126.7 kB / 1.034 GB, free: 1.473 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.275, allocations: 159.3 kB / 1.034 GB, free: 1.309 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.275, allocations: 29.69 kB / 1.034 GB, free: 1.273 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.53e-05/0.2751, allocations: 92.14 kB / 1.034 GB, free: 1.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-06/0.2751, allocations: 0 / 1.034 GB, free: 1.18 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/0.2751, allocations: 13.72 kB / 1.034 GB, free: 1.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.261e-05/0.2752, allocations: 322.8 kB / 1.034 GB, free: 0.8359 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.925e-06/0.2753, allocations: 4 kB / 1.034 GB, free: 0.832 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.954e-05/0.2753, allocations: 4 kB / 1.034 GB, free: 0.8281 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.333e-05/0.2753, allocations: 75.28 kB / 1.034 GB, free: 0.7539 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.371e-05/0.2753, allocations: 79.28 kB / 1.035 GB, free: 0.6758 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.631e-05/0.2754, allocations: 33.61 kB / 1.035 GB, free: 0.6367 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.2754, allocations: 83.22 kB / 1.035 GB, free: 0.5547 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.508e-05/0.2755, allocations: 83.22 kB / 1.035 GB, free: 484 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.512e-05/0.2755, allocations: 154.6 kB / 1.035 GB, free: 328 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.163e-05/0.2755, allocations: 79.27 kB / 1.035 GB, free: 248 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.763e-05/0.2756, allocations: 154.5 kB / 1.035 GB, free: 92 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.2757, allocations: 87.16 kB / 1.035 GB, free: 4 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.204e-05/0.2758, allocations: 79.22 kB / 1.035 GB, free: 15.93 MB / 0.795 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.0001168/0.2759, allocations: 285.8 kB / 1.036 GB, free: 15.64 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.437e-05/0.276, allocations: 104.9 kB / 1.036 GB, free: 15.53 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.335e-05/0.276, allocations: 117 kB / 1.036 GB, free: 15.41 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.985e-05/0.2761, allocations: 184.2 kB / 1.036 GB, free: 15.22 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.472e-05/0.2762, allocations: 180.3 kB / 1.036 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-05/0.2762, allocations: 184.1 kB / 1.036 GB, free: 14.85 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.2764, allocations: 421.2 kB / 1.037 GB, free: 14.38 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.974e-05/0.2765, allocations: 101 kB / 1.037 GB, free: 14.27 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.209e-05/0.2765, allocations: 112.9 kB / 1.037 GB, free: 14.16 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.183e-05/0.2766, allocations: 176.3 kB / 1.037 GB, free: 13.98 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-05/0.2766, allocations: 188.2 kB / 1.037 GB, free: 13.79 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.298e-05/0.2767, allocations: 180.3 kB / 1.037 GB, free: 13.6 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.573e-05/0.2768, allocations: 188.2 kB / 1.038 GB, free: 13.41 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.2769, allocations: 303.8 kB / 1.038 GB, free: 13.09 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.398e-05/0.277, allocations: 193.9 kB / 1.038 GB, free: 12.88 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.573e-05/0.277, allocations: 176.3 kB / 1.038 GB, free: 12.7 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.075e-05/0.2771, allocations: 109 kB / 1.038 GB, free: 12.58 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/0.2772, allocations: 184.1 kB / 1.038 GB, free: 12.39 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.504e-05/0.2772, allocations: 105 kB / 1.039 GB, free: 12.29 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.403e-05/0.2773, allocations: 120.8 kB / 1.039 GB, free: 12.17 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2773, allocations: 0 / 1.039 GB, free: 12.17 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002499/0.2776, allocations: 4 kB / 1.039 GB, free: 12.16 MB / 0.795 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.0003859/0.278, allocations: 0.8164 MB / 1.039 GB, free: 11.32 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 4.034e-05/0.278, allocations: 0 / 1.039 GB, free: 11.32 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.278, allocations: 0 / 1.039 GB, free: 11.32 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.278, allocations: 0 / 1.039 GB, free: 11.32 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.2784, allocations: 0.534 MB / 1.04 GB, free: 10.78 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.2796, allocations: 1.739 MB / 1.042 GB, free: 8.961 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.2799, allocations: 0.6887 MB / 1.042 GB, free: 8.246 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.84e-05/0.2799, allocations: 7.938 kB / 1.042 GB, free: 8.238 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.497e-05/0.28, allocations: 15.44 kB / 1.042 GB, free: 8.223 MB / 0.795 GB Notification: Performance of SimCode: time 3.3e-07/0.28, allocations: 0 / 1.042 GB, free: 8.223 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01017/0.2902, allocations: 1.361 MB / 1.044 GB, free: 7.027 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/0.2904, allocations: 229.4 kB / 1.044 GB, free: 6.77 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/2.102, allocations: 0 / 1.044 GB, free: 6.77 MB / 0.795 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