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.000923/0.000923, allocations: 91.84 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.005631/0.005631, allocations: 169.9 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.3/1.3, 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 10.1.0-maint.10.0.x/package.mo): time 2.42/2.42, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003147/0.0003147, allocations: 8 kB / 0.873 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6508/0.6512, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.0007281/0.6519, allocations: 336.6 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003732/0.6523, allocations: 115.7 kB / 1.024 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.964e-05/0.6524, allocations: 0 / 1.024 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.672e-05/0.6525, allocations: 7.938 kB / 1.024 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000284/0.6528, allocations: 27.91 kB / 1.024 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.03e-05/0.6528, allocations: 3.938 kB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.109e-05/0.6529, allocations: 23.98 kB / 1.024 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.653, allocations: 23.98 kB / 1.024 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.6531, allocations: 59.81 kB / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.417e-05/0.6532, allocations: 7.938 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.6532, allocations: 0 / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.612e-06/0.6532, allocations: 0 / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.96e-05/0.6533, allocations: 15.98 kB / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.07e-05/0.6533, allocations: 41.58 kB / 1.024 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.485e-05/0.6534, allocations: 39.81 kB / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.6534, allocations: 0 / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.774e-06/0.6534, allocations: 0 / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.6534, allocations: 0 / 1.024 GB, free: 15.15 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.0003344/0.6538, allocations: 345.6 kB / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.6538, allocations: 12.03 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.302e-05/0.6539, allocations: 38.75 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.912e-05/0.6539, allocations: 8.844 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.6541, allocations: 188.2 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.6541, allocations: 8.375 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.6541, allocations: 384 / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.6543, allocations: 84.75 kB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.6543, allocations: 3.938 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.6543, allocations: 0 / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.6543, allocations: 3.984 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.544e-05/0.6544, allocations: 23.92 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004376/0.6548, allocations: 0.6089 MB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.538e-05/0.6549, allocations: 165.1 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.765e-05/0.6549, allocations: 80.14 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.655, allocations: 79.28 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.137e-05/0.655, allocations: 109.8 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.655, allocations: 0 / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.095e-05/0.6551, allocations: 33.55 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.6552, allocations: 134.7 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.6553, allocations: 163.9 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.6553, allocations: 25.7 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.553e-05/0.6554, allocations: 96.14 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.6554, allocations: 0 / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.741e-05/0.6554, allocations: 9.719 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.754e-05/0.6555, allocations: 314.8 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.226e-06/0.6555, allocations: 0 / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.158e-05/0.6555, allocations: 8 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.206e-05/0.6556, allocations: 75.28 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-05/0.6556, allocations: 75.28 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.026e-05/0.6557, allocations: 45.61 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.227e-05/0.6557, allocations: 87.27 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.401e-05/0.6557, allocations: 75.28 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.318e-05/0.6558, allocations: 150.6 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.154e-05/0.6559, allocations: 79.22 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.344e-05/0.6559, allocations: 154.6 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.656, allocations: 91.16 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.6561, allocations: 79.22 kB / 1.027 GB, free: 11.49 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.0001198/0.6562, allocations: 272.9 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.384e-05/0.6563, allocations: 108.9 kB / 1.027 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.536e-05/0.6563, allocations: 116.8 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.649e-05/0.6564, allocations: 176.3 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.919e-05/0.6564, allocations: 188.1 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-05/0.6565, allocations: 184.2 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.6567, allocations: 421.4 kB / 1.029 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.923e-05/0.6568, allocations: 101 kB / 1.029 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.137e-05/0.6568, allocations: 109 kB / 1.029 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.017e-05/0.6569, allocations: 188.2 kB / 1.029 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.753e-05/0.6569, allocations: 180.3 kB / 1.029 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.816e-05/0.657, allocations: 184.2 kB / 1.029 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-05/0.6571, allocations: 176.3 kB / 1.029 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.6572, allocations: 315.7 kB / 1.03 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.266e-05/0.6573, allocations: 186 kB / 1.03 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.228e-05/0.6573, allocations: 188.2 kB / 1.03 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.979e-05/0.6574, allocations: 105 kB / 1.03 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.331e-05/0.6575, allocations: 184.2 kB / 1.03 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.6575, allocations: 108.9 kB / 1.03 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.031e-05/0.6576, allocations: 124.3 kB / 1.031 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6576, allocations: 0 / 1.031 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002378/0.6579, allocations: 4 kB / 1.031 GB, free: 7.727 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.0003454/0.6582, allocations: 0.8087 MB / 1.031 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 3.292e-05/0.6583, allocations: 7.938 kB / 1.031 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.6583, allocations: 4 kB / 1.031 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.6583, allocations: 0 / 1.031 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.6586, allocations: 0.5239 MB / 1.032 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.66, allocations: 1.749 MB / 1.034 GB, free: 4.52 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.6603, allocations: 0.6848 MB / 1.034 GB, free: 3.809 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.62e-05/0.6603, allocations: 4 kB / 1.034 GB, free: 3.805 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.111e-05/0.6603, allocations: 19.42 kB / 1.034 GB, free: 3.785 MB / 0.7794 GB Notification: Performance of SimCode: time 4.11e-07/0.6603, allocations: 4 kB / 1.034 GB, free: 3.781 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00961/0.6699, allocations: 1.347 MB / 1.036 GB, free: 2.586 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002165/0.6702, allocations: 220.4 kB / 1.036 GB, free: 2.328 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/2.383, allocations: 1.562 kB / 1.036 GB, free: 2.328 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