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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.008311/0.008312, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001896/0.001896, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.491/1.491, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.766/2.766, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 59.91 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3265, allocations: 151.6 MB / 1.166 GB, free: 7.309 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.001853/0.3284, allocations: 0.5913 MB / 1.167 GB, free: 6.711 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000397/0.3288, allocations: 124 kB / 1.167 GB, free: 6.59 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.327e-05/0.3289, allocations: 8 kB / 1.167 GB, free: 6.582 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.668e-05/0.329, allocations: 3.984 kB / 1.167 GB, free: 6.578 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003734/0.3294, allocations: 27.92 kB / 1.167 GB, free: 6.551 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 6.599e-05/0.3294, allocations: 7.922 kB / 1.167 GB, free: 6.543 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.339e-05/0.3295, allocations: 23.98 kB / 1.167 GB, free: 6.52 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.3297, allocations: 24.27 kB / 1.167 GB, free: 6.496 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.3298, allocations: 59.89 kB / 1.167 GB, free: 6.438 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.638e-05/0.3299, allocations: 15.92 kB / 1.167 GB, free: 6.422 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.3299, allocations: 0 / 1.167 GB, free: 6.422 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.23e-05/0.3299, allocations: 4 kB / 1.167 GB, free: 6.418 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.345e-05/0.33, allocations: 15.92 kB / 1.167 GB, free: 6.402 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.33, allocations: 19.81 kB / 1.167 GB, free: 6.383 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.3301, allocations: 55.73 kB / 1.167 GB, free: 6.328 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3301, allocations: 0 / 1.167 GB, free: 6.328 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3301, allocations: 4 kB / 1.167 GB, free: 6.324 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.3302, allocations: 0 / 1.167 GB, free: 6.324 MB / 0.92 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.0003606/0.3305, allocations: 355.2 kB / 1.167 GB, free: 5.926 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.3306, allocations: 8.031 kB / 1.167 GB, free: 5.918 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.025e-05/0.3306, allocations: 38.75 kB / 1.167 GB, free: 5.871 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.146e-05/0.3307, allocations: 8.875 kB / 1.168 GB, free: 5.863 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.3309, allocations: 180.3 kB / 1.168 GB, free: 5.648 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.3309, allocations: 4.375 kB / 1.168 GB, free: 5.645 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.3309, allocations: 4.375 kB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.3311, allocations: 84.75 kB / 1.168 GB, free: 5.543 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3311, allocations: 3.938 kB / 1.168 GB, free: 5.539 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.3311, allocations: 0 / 1.168 GB, free: 5.539 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.3311, allocations: 7.938 kB / 1.168 GB, free: 5.531 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.754e-05/0.3312, allocations: 27.92 kB / 1.168 GB, free: 5.504 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004901/0.3316, allocations: 0.6012 MB / 1.168 GB, free: 4.844 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.829e-05/0.3317, allocations: 169.1 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.402e-05/0.3318, allocations: 80.14 kB / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.3318, allocations: 75.28 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.3319, allocations: 113.8 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.3319, allocations: 0 / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 8.965e-05/0.332, allocations: 41.58 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/0.332, allocations: 126.7 kB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.3322, allocations: 159.9 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.3322, allocations: 25.7 kB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.378e-05/0.3323, allocations: 96.12 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.3323, allocations: 0 / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.3323, allocations: 13.72 kB / 1.169 GB, free: 3.895 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.3324, allocations: 318.8 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.518e-06/0.3324, allocations: 0 / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.382e-05/0.3325, allocations: 7.984 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.018e-05/0.3325, allocations: 75.28 kB / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-05/0.3325, allocations: 75.28 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.879e-05/0.3326, allocations: 33.64 kB / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.691e-05/0.3327, allocations: 79.28 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.751e-05/0.3327, allocations: 83.31 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.329e-05/0.3328, allocations: 154.6 kB / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.199e-05/0.3329, allocations: 79.22 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.434e-05/0.3329, allocations: 154.5 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.3332, allocations: 91.11 kB / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.923e-05/0.3332, allocations: 75.28 kB / 1.17 GB, free: 2.672 MB / 0.92 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.000175/0.3334, allocations: 281 kB / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.856e-05/0.3335, allocations: 109 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.189e-05/0.3336, allocations: 116.8 kB / 1.171 GB, free: 2.148 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.247e-05/0.3336, allocations: 184.2 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.251e-05/0.3337, allocations: 184.2 kB / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.228e-05/0.3338, allocations: 184.2 kB / 1.171 GB, free: 1.586 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002822/0.3341, allocations: 417.5 kB / 1.172 GB, free: 1.121 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.507e-05/0.3341, allocations: 108.9 kB / 1.172 GB, free: 1.008 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.549e-05/0.3342, allocations: 109 kB / 1.172 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.879e-05/0.3343, allocations: 180.2 kB / 1.172 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.782e-05/0.3344, allocations: 180.3 kB / 1.172 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.151e-05/0.3345, allocations: 188.2 kB / 1.173 GB, free: 344 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.832e-05/0.3345, allocations: 184.2 kB / 1.173 GB, free: 152 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.3347, allocations: 303.9 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.3348, allocations: 194 kB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.3349, allocations: 184.2 kB / 1.173 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.568e-05/0.335, allocations: 105 kB / 1.173 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.3351, allocations: 180.3 kB / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.667e-05/0.3352, allocations: 108.9 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.991e-05/0.3353, allocations: 124.8 kB / 1.174 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3353, allocations: 0 / 1.174 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002891/0.3356, allocations: 4 kB / 1.174 GB, free: 14.89 MB / 0.9356 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.0004537/0.3361, allocations: 0.8126 MB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 5.623e-05/0.3361, allocations: 3.938 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3361, allocations: 0 / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.945e-06/0.3361, allocations: 8 kB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.3366, allocations: 459.6 kB / 1.175 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.3379, allocations: 1.738 MB / 1.177 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.3382, allocations: 0.6846 MB / 1.177 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.04e-05/0.3382, allocations: 7.938 kB / 1.178 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.3382, allocations: 23.44 kB / 1.178 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of SimCode: time 3.51e-07/0.3382, allocations: 0 / 1.178 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01896/0.3572, allocations: 1.549 MB / 1.179 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.681/8.039, allocations: 8.172 kB / 1.179 GB, free: 9.598 MB / 0.9356 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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