Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter,fileNamePrefix="Buildings_9_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.00142/0.00142, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 197.1 kB / 16.53 MB, free: 6.664 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.502/1.502, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.377/2.377, allocations: 390.3 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 63.89 kB / 0.8127 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6327/0.634, allocations: 140.4 MB / 0.9497 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.001668/0.6357, allocations: 0.5891 MB / 0.9503 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003015/0.6361, allocations: 120.5 kB / 0.9504 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.138e-05/0.6361, allocations: 1.375 kB / 0.9504 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.538e-05/0.6362, allocations: 3.938 kB / 0.9504 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002979/0.6365, allocations: 28.3 kB / 0.9505 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.873e-05/0.6366, allocations: 13.36 kB / 0.9505 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.503e-05/0.6366, allocations: 28.3 kB / 0.9505 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.399e-05/0.6367, allocations: 20.36 kB / 0.9505 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.6368, allocations: 52.92 kB / 0.9506 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.929e-05/0.6369, allocations: 15.73 kB / 0.9506 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.6369, allocations: 2.656 kB / 0.9506 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.806e-06/0.6369, allocations: 5.5 kB / 0.9506 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.618e-05/0.637, allocations: 18.45 kB / 0.9506 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.69e-05/0.637, allocations: 19.72 kB / 0.9506 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.647e-05/0.6371, allocations: 45.52 kB / 0.9507 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.6371, allocations: 0 / 0.9507 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.092e-06/0.6371, allocations: 0 / 0.9507 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.6371, allocations: 1 kB / 0.9507 GB, free: 8.484 MB / 0.7169 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.0002425/0.6373, allocations: 356.1 kB / 0.951 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.6374, allocations: 9.375 kB / 0.951 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.262e-05/0.6374, allocations: 35.97 kB / 0.9511 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.475e-05/0.6374, allocations: 7.656 kB / 0.9511 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.6375, allocations: 181.2 kB / 0.9512 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.6376, allocations: 6.812 kB / 0.9512 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.6376, allocations: 3.312 kB / 0.9512 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.6377, allocations: 85.36 kB / 0.9513 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.6377, allocations: 9.484 kB / 0.9513 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.6377, allocations: 4 kB / 0.9513 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.6377, allocations: 1.531 kB / 0.9513 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.051e-05/0.6378, allocations: 27.83 kB / 0.9514 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002708/0.638, allocations: 0.5952 MB / 0.9519 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.668e-05/0.6381, allocations: 179.3 kB / 0.9521 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.223e-05/0.6381, allocations: 80.14 kB / 0.9522 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.6381, allocations: 75.28 kB / 0.9523 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.6382, allocations: 107 kB / 0.9524 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.6382, allocations: 0 / 0.9524 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.901e-05/0.6382, allocations: 44.88 kB / 0.9524 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.6382, allocations: 131.8 kB / 0.9525 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.6384, allocations: 159.5 kB / 0.9527 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.623e-06/0.6384, allocations: 25.7 kB / 0.9527 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.082e-05/0.6384, allocations: 100.1 kB / 0.9528 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-06/0.6384, allocations: 0 / 0.9528 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.071e-05/0.6384, allocations: 12.22 kB / 0.9528 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.704e-05/0.6385, allocations: 316.1 kB / 0.9531 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.607e-06/0.6385, allocations: 1.281 kB / 0.9531 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.875e-05/0.6385, allocations: 10.45 kB / 0.9531 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.018e-05/0.6385, allocations: 75.28 kB / 0.9532 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.387e-06/0.6385, allocations: 75.28 kB / 0.9533 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.094e-05/0.6386, allocations: 35.11 kB / 0.9533 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.6386, allocations: 80.34 kB / 0.9534 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.6386, allocations: 80.5 kB / 0.9535 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.824e-05/0.6387, allocations: 154.6 kB / 0.9536 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.01e-05/0.6387, allocations: 80.44 kB / 0.9537 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.979e-05/0.6387, allocations: 155.8 kB / 0.9538 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.6388, allocations: 89.75 kB / 0.9539 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.6389, allocations: 79.22 kB / 0.954 GB, free: 4.992 MB / 0.7169 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 6.985e-05/0.6389, allocations: 270.9 kB / 0.9543 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.837e-05/0.639, allocations: 112.6 kB / 0.9544 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.56e-05/0.639, allocations: 116.5 kB / 0.9545 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/0.639, allocations: 176.3 kB / 0.9546 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-05/0.6391, allocations: 181.3 kB / 0.9548 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.256e-05/0.6391, allocations: 189.5 kB / 0.955 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.6392, allocations: 422.4 kB / 0.9554 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/0.6393, allocations: 104.9 kB / 0.9555 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.469e-05/0.6393, allocations: 106.3 kB / 0.9556 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.202e-05/0.6393, allocations: 189.3 kB / 0.9558 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.6393, allocations: 177.7 kB / 0.9559 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-05/0.6394, allocations: 180.6 kB / 0.9561 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.107e-05/0.6394, allocations: 185.3 kB / 0.9563 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.475e-05/0.6395, allocations: 318.2 kB / 0.9566 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.468e-05/0.6395, allocations: 184.7 kB / 0.9568 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/0.6395, allocations: 177.7 kB / 0.9569 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.446e-05/0.6396, allocations: 110.4 kB / 0.9571 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.96e-05/0.6396, allocations: 181.5 kB / 0.9572 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.6396, allocations: 108.9 kB / 0.9573 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.511e-05/0.6397, allocations: 125.5 kB / 0.9574 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6397, allocations: 0 / 0.9574 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002455/0.64, allocations: 4.188 kB / 0.9575 GB, free: 1.297 MB / 0.7169 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.0002151/0.6402, allocations: 0.8121 MB / 0.9582 GB, free: 492 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.216e-05/0.6402, allocations: 8.844 kB / 0.9583 GB, free: 484 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.6403, allocations: 0 / 0.9583 GB, free: 484 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.552e-06/0.6403, allocations: 4.844 kB / 0.9583 GB, free: 480 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.6405, allocations: 461.4 kB / 0.9587 GB, free: 16 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.6417, allocations: 1.732 MB / 0.9604 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.6419, allocations: 0.6856 MB / 0.9611 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.022e-05/0.6419, allocations: 7.922 kB / 0.9611 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.642, allocations: 20.59 kB / 0.9611 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.642, allocations: 0 / 0.9611 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01618/0.6582, allocations: 1.507 MB / 0.9626 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.694/8.352, allocations: 17.62 kB / 0.9626 GB, free: 12.8 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches