Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter,fileNamePrefix="Buildings_10_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.001235/0.001235, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00127/0.00127, allocations: 189.4 kB / 16.14 MB, free: 6.711 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.265/1.265, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.407/2.407, allocations: 437 MB / 0.7099 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 67.91 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4957/0.497, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.001644/0.4987, allocations: 0.6598 MB / 1.017 GB, free: 2.133 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003475/0.499, allocations: 123.7 kB / 1.017 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.03e-05/0.4991, allocations: 0 / 1.017 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 8.18e-05/0.4992, allocations: 0 / 1.017 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002688/0.4994, allocations: 23.92 kB / 1.018 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.999e-05/0.4995, allocations: 11.98 kB / 1.018 GB, free: 1.977 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.054e-05/0.4996, allocations: 23.92 kB / 1.018 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.539e-05/0.4997, allocations: 23.97 kB / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.4998, allocations: 51.91 kB / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.033e-05/0.4998, allocations: 19.92 kB / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.4999, allocations: 0 / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.068e-05/0.4999, allocations: 4 kB / 1.018 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.864e-05/0.4999, allocations: 11.98 kB / 1.018 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.937e-05/0.5, allocations: 19.81 kB / 1.018 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.757e-05/0.5, allocations: 47.86 kB / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.5001, allocations: 0 / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.62e-07/0.5001, allocations: 0 / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.5001, allocations: 4 kB / 1.018 GB, free: 1.773 MB / 0.7637 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.0002969/0.5004, allocations: 353.5 kB / 1.018 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.5004, allocations: 16.03 kB / 1.018 GB, free: 1.363 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.919e-05/0.5005, allocations: 34.73 kB / 1.018 GB, free: 1.32 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.553e-05/0.5005, allocations: 8.844 kB / 1.018 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.5006, allocations: 184.2 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-06/0.5007, allocations: 4.375 kB / 1.018 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.5007, allocations: 4.375 kB / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.5008, allocations: 76.81 kB / 1.018 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.5008, allocations: 7.922 kB / 1.018 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.5008, allocations: 8 kB / 1.018 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.5008, allocations: 0 / 1.018 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.944e-05/0.5009, allocations: 23.92 kB / 1.018 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004196/0.5013, allocations: 0.605 MB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 7.205e-05/0.5014, allocations: 173.1 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.591e-05/0.5014, allocations: 80.14 kB / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.375e-05/0.5015, allocations: 79.22 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.5015, allocations: 109.8 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.5015, allocations: 0 / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.446e-05/0.5016, allocations: 29.7 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.5016, allocations: 130.7 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.5018, allocations: 164.1 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.5018, allocations: 25.7 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.892e-05/0.5018, allocations: 92.14 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/0.5019, allocations: 0 / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-05/0.5019, allocations: 13.72 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.537e-05/0.502, allocations: 318.8 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.572e-06/0.502, allocations: 12.03 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.818e-05/0.502, allocations: 3.938 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.162e-05/0.5021, allocations: 75.28 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.906e-05/0.5021, allocations: 79.22 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.712e-05/0.5021, allocations: 37.61 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.5022, allocations: 79.28 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.739e-05/0.5022, allocations: 75.28 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.864e-05/0.5023, allocations: 158.5 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.843e-05/0.5023, allocations: 87.31 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.993e-05/0.5023, allocations: 154.5 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.5025, allocations: 81.33 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.5025, allocations: 79.28 kB / 1.021 GB, free: 14.11 MB / 0.7794 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.000111/0.5026, allocations: 276.8 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.983e-05/0.5027, allocations: 112.9 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.287e-05/0.5027, allocations: 112.8 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.443e-05/0.5028, allocations: 184.2 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-05/0.5028, allocations: 176.3 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.053e-05/0.5029, allocations: 184.2 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.5031, allocations: 421.4 kB / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.56e-05/0.5032, allocations: 105 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.962e-05/0.5032, allocations: 105 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.428e-05/0.5033, allocations: 180.3 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.779e-05/0.5033, allocations: 192.2 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.183e-05/0.5034, allocations: 176.3 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-05/0.5034, allocations: 180.3 kB / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.5036, allocations: 319.6 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.149e-05/0.5036, allocations: 185.9 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.557e-05/0.5037, allocations: 184.3 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.377e-05/0.5038, allocations: 105 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/0.5039, allocations: 192.1 kB / 1.024 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.862e-05/0.5039, allocations: 105 kB / 1.024 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.327e-05/0.504, allocations: 119.2 kB / 1.024 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.504, allocations: 0 / 1.024 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000233/0.5042, allocations: 0 / 1.024 GB, free: 10.35 MB / 0.7794 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.0003298/0.5046, allocations: 0.8126 MB / 1.025 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 3.463e-05/0.5046, allocations: 4 kB / 1.025 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.5046, allocations: 0 / 1.025 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.5046, allocations: 0 / 1.025 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.505, allocations: 0.5362 MB / 1.026 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.5061, allocations: 1.741 MB / 1.028 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.5063, allocations: 0.6926 MB / 1.028 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.436e-05/0.5063, allocations: 0 / 1.028 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.055e-05/0.5064, allocations: 19.38 kB / 1.028 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.5064, allocations: 4 kB / 1.028 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01036/0.5167, allocations: 1.425 MB / 1.03 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/0.517, allocations: 217.1 kB / 1.03 GB, free: 4.848 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/2.142, allocations: 0 / 1.03 GB, free: 4.848 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches