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.001851/0.001851, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001709/0.001709, allocations: 192.2 kB / 16.25 MB, free: 6.621 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.445/1.445, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.529/2.529, allocations: 390.2 MB / 0.6644 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 67.89 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7715/0.7731, allocations: 140.4 MB / 0.9492 GB, free: 9.035 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.002543/0.7756, allocations: 0.6614 MB / 0.9499 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004168/0.7761, allocations: 113.1 kB / 0.95 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.794e-05/0.7762, allocations: 0 / 0.95 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.7763, allocations: 5.031 kB / 0.95 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004079/0.7767, allocations: 23.84 kB / 0.95 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.619e-05/0.7768, allocations: 10.11 kB / 0.95 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.436e-05/0.7769, allocations: 35.83 kB / 0.9501 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.777, allocations: 16.25 kB / 0.9501 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.7772, allocations: 50.73 kB / 0.9501 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.677e-05/0.7772, allocations: 20.62 kB / 0.9502 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.7772, allocations: 11.28 kB / 0.9502 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.756e-06/0.7773, allocations: 9.375 kB / 0.9502 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.077e-05/0.7773, allocations: 14.77 kB / 0.9502 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.06e-05/0.7773, allocations: 19.81 kB / 0.9502 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.029e-05/0.7774, allocations: 44.72 kB / 0.9502 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7774, allocations: 0 / 0.9502 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7774, allocations: 1.844 kB / 0.9502 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.7775, allocations: 0 / 0.9502 GB, free: 8.293 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.0002907/0.7778, allocations: 351.7 kB / 0.9506 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.7778, allocations: 13.98 kB / 0.9506 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.342e-05/0.7778, allocations: 39.94 kB / 0.9506 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.87e-05/0.7779, allocations: 7.188 kB / 0.9506 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.778, allocations: 181.9 kB / 0.9508 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.778, allocations: 9.672 kB / 0.9508 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.778, allocations: 4 kB / 0.9508 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.7782, allocations: 76.97 kB / 0.9509 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.7782, allocations: 5.625 kB / 0.9509 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.7782, allocations: 11.94 kB / 0.9509 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.7782, allocations: 2.188 kB / 0.9509 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.336e-05/0.7783, allocations: 24.23 kB / 0.9509 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.7786, allocations: 0.5953 MB / 0.9515 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.186e-05/0.7787, allocations: 177.1 kB / 0.9517 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.952e-05/0.7787, allocations: 81.77 kB / 0.9518 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.7787, allocations: 75.28 kB / 0.9518 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.7787, allocations: 107.1 kB / 0.9519 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.7788, allocations: 0 / 0.9519 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.047e-05/0.7788, allocations: 32.42 kB / 0.952 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.7789, allocations: 136 kB / 0.9521 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.779, allocations: 163.3 kB / 0.9523 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.779, allocations: 25.7 kB / 0.9523 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.352e-05/0.779, allocations: 95.36 kB / 0.9524 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.7791, allocations: 1.312 kB / 0.9524 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.16e-05/0.7791, allocations: 11.25 kB / 0.9524 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.753e-05/0.7791, allocations: 316.6 kB / 0.9527 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.929e-06/0.7791, allocations: 1.375 kB / 0.9527 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.932e-05/0.7792, allocations: 10.44 kB / 0.9527 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.531e-05/0.7792, allocations: 79.28 kB / 0.9528 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.7792, allocations: 75.28 kB / 0.9529 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.655e-05/0.7793, allocations: 43.89 kB / 0.9529 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.7793, allocations: 81.06 kB / 0.953 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.7793, allocations: 79.22 kB / 0.953 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/0.7793, allocations: 156.1 kB / 0.9532 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-05/0.7794, allocations: 84.34 kB / 0.9533 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.974e-05/0.7794, allocations: 155.8 kB / 0.9534 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.7795, allocations: 84.5 kB / 0.9535 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.7796, allocations: 81.16 kB / 0.9536 GB, free: 4.793 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.932e-05/0.7796, allocations: 265.6 kB / 0.9538 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.037e-05/0.7797, allocations: 112 kB / 0.9539 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.16e-05/0.7797, allocations: 124.8 kB / 0.9541 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.503e-05/0.7797, allocations: 177.5 kB / 0.9542 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.629e-05/0.7798, allocations: 177.5 kB / 0.9544 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.459e-05/0.7798, allocations: 188.4 kB / 0.9546 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.7799, allocations: 414 kB / 0.955 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.72e-05/0.78, allocations: 114.4 kB / 0.9551 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.584e-05/0.78, allocations: 105 kB / 0.9552 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.54e-05/0.78, allocations: 190 kB / 0.9554 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.7801, allocations: 181.5 kB / 0.9555 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.213e-05/0.7801, allocations: 176.3 kB / 0.9557 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-05/0.7801, allocations: 181.6 kB / 0.9559 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.709e-05/0.7802, allocations: 321.9 kB / 0.9562 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.714e-05/0.7803, allocations: 180.8 kB / 0.9564 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.985e-05/0.7803, allocations: 177.5 kB / 0.9565 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.815e-05/0.7804, allocations: 106.2 kB / 0.9566 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.7804, allocations: 189.5 kB / 0.9568 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.7804, allocations: 108.9 kB / 0.9569 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.788e-05/0.7805, allocations: 121.7 kB / 0.957 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7805, allocations: 0 / 0.957 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002433/0.7808, allocations: 4 kB / 0.957 GB, free: 1.102 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.0002497/0.781, allocations: 0.808 MB / 0.9578 GB, free: 296 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.567e-05/0.7811, allocations: 5.375 kB / 0.9578 GB, free: 292 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.7811, allocations: 0 / 0.9578 GB, free: 292 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.924e-06/0.7811, allocations: 5.312 kB / 0.9578 GB, free: 288 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.7815, allocations: 461 kB / 0.9583 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.7832, allocations: 1.737 MB / 0.96 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.7836, allocations: 0.6902 MB / 0.9606 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.341e-05/0.7837, allocations: 7.75 kB / 0.9607 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.753e-05/0.7837, allocations: 16.94 kB / 0.9607 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.7837, allocations: 0 / 0.9607 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01238/0.7961, allocations: 1.448 MB / 0.9621 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000224/0.7964, allocations: 222.9 kB / 0.9623 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.809/2.606, allocations: 11.88 kB / 0.9623 GB, free: 12.45 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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