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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booFil.u.1.|booFil.u.2.|booFil.u.3.|booFil.y.1.|booFil.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booFil.u.1.|booFil.u.2.|booFil.u.3.|booFil.y.1.|booFil.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 90.52 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.009388/0.009388, allocations: 173.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.538/1.538, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.524/2.524, allocations: 390.9 MB / 0.6663 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003645, allocations: 12 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9129/0.9133, allocations: 142.4 MB / 0.9551 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.001043/0.9144, allocations: 339.8 kB / 0.9554 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005337/0.915, allocations: 113.4 kB / 0.9555 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.609e-05/0.915, allocations: 1.594 kB / 0.9555 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.9152, allocations: 3.984 kB / 0.9555 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003953/0.9156, allocations: 26.73 kB / 0.9555 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.039e-05/0.9157, allocations: 5.312 kB / 0.9555 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.602e-05/0.9157, allocations: 24.61 kB / 0.9555 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.9159, allocations: 19.23 kB / 0.9556 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.916, allocations: 58.28 kB / 0.9556 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.947e-05/0.9161, allocations: 7.75 kB / 0.9556 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.9161, allocations: 5.25 kB / 0.9556 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.025e-05/0.9161, allocations: 1.125 kB / 0.9556 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.151e-05/0.9162, allocations: 14.36 kB / 0.9556 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.387e-05/0.9162, allocations: 40.02 kB / 0.9557 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.215e-05/0.9163, allocations: 52.38 kB / 0.9557 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.9163, allocations: 0 / 0.9557 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9163, allocations: 1.031 kB / 0.9557 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.9164, allocations: 0 / 0.9557 GB, free: 7.184 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.0003173/0.9167, allocations: 343 kB / 0.9561 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.9167, allocations: 14.28 kB / 0.9561 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.03e-05/0.9168, allocations: 3.75 kB / 0.9561 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.9169, allocations: 184.8 kB / 0.9563 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.917, allocations: 5.781 kB / 0.9563 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.917, allocations: 3.25 kB / 0.9563 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.9171, allocations: 78.56 kB / 0.9563 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.9171, allocations: 192 / 0.9563 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.9172, allocations: 5.125 kB / 0.9563 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.9172, allocations: 5.25 kB / 0.9564 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.742e-05/0.9172, allocations: 28.09 kB / 0.9564 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003902/0.9176, allocations: 0.6036 MB / 0.957 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.971e-05/0.9177, allocations: 166.1 kB / 0.9571 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.722e-05/0.9177, allocations: 84.14 kB / 0.9572 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.9177, allocations: 75.28 kB / 0.9573 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.9178, allocations: 107.4 kB / 0.9574 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.984e-06/0.9178, allocations: 0 / 0.9574 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.266e-05/0.9178, allocations: 37.23 kB / 0.9574 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.9179, allocations: 130.6 kB / 0.9575 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.918, allocations: 164.9 kB / 0.9577 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.388e-06/0.918, allocations: 29.7 kB / 0.9577 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/0.9181, allocations: 92.64 kB / 0.9578 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-06/0.9181, allocations: 0 / 0.9578 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.559e-05/0.9181, allocations: 9.719 kB / 0.9578 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.25e-05/0.9182, allocations: 321.4 kB / 0.9581 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.447e-06/0.9182, allocations: 0 / 0.9581 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.95e-05/0.9182, allocations: 6.469 kB / 0.9581 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.89e-05/0.9182, allocations: 79.31 kB / 0.9582 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-05/0.9183, allocations: 76.72 kB / 0.9583 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.064e-05/0.9183, allocations: 37.77 kB / 0.9583 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.9183, allocations: 79.97 kB / 0.9584 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.9184, allocations: 81.81 kB / 0.9585 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.309e-05/0.9184, allocations: 155.8 kB / 0.9586 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.059e-05/0.9184, allocations: 76.5 kB / 0.9587 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.235e-05/0.9184, allocations: 155.8 kB / 0.9588 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.9186, allocations: 93.09 kB / 0.9589 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.9186, allocations: 79.22 kB / 0.959 GB, free: 3.746 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 7.579e-05/0.9187, allocations: 267.1 kB / 0.9593 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.237e-05/0.9187, allocations: 112.5 kB / 0.9594 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.414e-05/0.9188, allocations: 119.4 kB / 0.9595 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.103e-05/0.9188, allocations: 177.7 kB / 0.9597 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.242e-05/0.9188, allocations: 181.2 kB / 0.9598 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.275e-05/0.9189, allocations: 185.3 kB / 0.96 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.919, allocations: 418.1 kB / 0.9604 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.891e-05/0.919, allocations: 102 kB / 0.9605 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.859e-05/0.9191, allocations: 110.3 kB / 0.9606 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.094e-05/0.9191, allocations: 188.2 kB / 0.9608 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.9191, allocations: 177.4 kB / 0.961 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.71e-05/0.9192, allocations: 185.4 kB / 0.9611 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.759e-05/0.9192, allocations: 177.2 kB / 0.9613 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.09e-05/0.9193, allocations: 321.5 kB / 0.9616 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.968e-05/0.9193, allocations: 185 kB / 0.9618 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.9194, allocations: 185.5 kB / 0.962 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.502e-05/0.9194, allocations: 102 kB / 0.9621 GB, free: 464 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.9195, allocations: 185.3 kB / 0.9622 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.241e-05/0.9195, allocations: 118 kB / 0.9623 GB, free: 148 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.43e-05/0.9196, allocations: 121.1 kB / 0.9625 GB, free: 52 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9196, allocations: 1.031 kB / 0.9625 GB, free: 52 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000241/0.9198, allocations: 3.594 kB / 0.9625 GB, free: 52 kB / 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.0001808/0.92, allocations: 182.2 kB / 0.9626 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 4.803e-05/0.9201, allocations: 1.5 kB / 0.9626 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.9201, allocations: 0 / 0.9626 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.9201, allocations: 7.938 kB / 0.9626 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004077/0.9205, allocations: 0.5212 MB / 0.9632 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003183/0.9208, allocations: 212.2 kB / 0.9634 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.9212, allocations: 0.6867 MB / 0.964 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.163e-05/0.9212, allocations: 3.156 kB / 0.964 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.05e-05/0.9213, allocations: 13.52 kB / 0.964 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.9213, allocations: 0 / 0.964 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of Templates: time 0.002675/0.9239, allocations: 398.7 kB / 0.9644 GB, free: 14.23 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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