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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00117/0.00117, allocations: 97.78 kB / 16.02 MB, free: 76 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.001473/0.001474, allocations: 181.8 kB / 16.92 MB, free: 6.918 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.419/1.419, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.523/2.523, allocations: 390.9 MB / 0.667 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003724, allocations: 12 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7751/0.7755, allocations: 142.4 MB / 0.9557 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.0009079/0.7765, allocations: 340.9 kB / 0.9561 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000424/0.7769, allocations: 105.4 kB / 0.9562 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.508e-05/0.777, allocations: 0 / 0.9562 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.773e-05/0.7771, allocations: 9.156 kB / 0.9562 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003423/0.7774, allocations: 25.05 kB / 0.9562 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.344e-05/0.7775, allocations: 6.219 kB / 0.9562 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.101e-05/0.7776, allocations: 28.45 kB / 0.9562 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.7777, allocations: 22.95 kB / 0.9562 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.7778, allocations: 43.16 kB / 0.9563 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.591e-05/0.7779, allocations: 20.28 kB / 0.9563 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.7779, allocations: 0 / 0.9563 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.642e-06/0.7779, allocations: 1.281 kB / 0.9563 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.623e-05/0.778, allocations: 18.92 kB / 0.9563 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.614e-05/0.778, allocations: 44.45 kB / 0.9564 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.621e-05/0.7781, allocations: 31.34 kB / 0.9564 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.7781, allocations: 0 / 0.9564 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7781, allocations: 0 / 0.9564 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.7781, allocations: 0 / 0.9564 GB, free: 7.297 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.0002787/0.7784, allocations: 348 kB / 0.9567 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.7785, allocations: 9.344 kB / 0.9567 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.7785, allocations: 8.047 kB / 0.9567 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.7787, allocations: 180.7 kB / 0.9569 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.7787, allocations: 6.188 kB / 0.9569 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.7787, allocations: 3.5 kB / 0.9569 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.7789, allocations: 85.23 kB / 0.957 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.7789, allocations: 1.062 kB / 0.957 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.7789, allocations: 3.938 kB / 0.957 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.7789, allocations: 2.219 kB / 0.957 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.192e-05/0.779, allocations: 28.14 kB / 0.957 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003627/0.7793, allocations: 0.5996 MB / 0.9576 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.161e-05/0.7794, allocations: 173.9 kB / 0.9578 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.035e-05/0.7794, allocations: 80.14 kB / 0.9579 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.7794, allocations: 84.16 kB / 0.9579 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.7795, allocations: 110.9 kB / 0.958 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.7795, allocations: 0 / 0.958 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.094e-05/0.7796, allocations: 37.69 kB / 0.9581 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.7796, allocations: 130.6 kB / 0.9582 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.7797, allocations: 155 kB / 0.9584 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.7797, allocations: 25.7 kB / 0.9584 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/0.7798, allocations: 100.6 kB / 0.9585 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.393e-06/0.7798, allocations: 0 / 0.9585 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.496e-05/0.7798, allocations: 9.719 kB / 0.9585 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.349e-05/0.7799, allocations: 321.3 kB / 0.9588 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.367e-06/0.7799, allocations: 0 / 0.9588 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.043e-05/0.7799, allocations: 6.797 kB / 0.9588 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.624e-05/0.7799, allocations: 75.28 kB / 0.9589 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.21e-05/0.7799, allocations: 76.41 kB / 0.9589 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.23e-05/0.78, allocations: 34.08 kB / 0.959 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.78, allocations: 85.72 kB / 0.9591 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/0.7801, allocations: 81.77 kB / 0.9591 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.932e-05/0.7801, allocations: 159.5 kB / 0.9593 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.16e-05/0.7801, allocations: 80.25 kB / 0.9594 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.481e-05/0.7801, allocations: 155.5 kB / 0.9595 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.7803, allocations: 85.22 kB / 0.9596 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.7803, allocations: 84.34 kB / 0.9597 GB, free: 3.848 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.495e-05/0.7804, allocations: 271.3 kB / 0.9599 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.7804, allocations: 103.9 kB / 0.96 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.128e-05/0.7804, allocations: 116.5 kB / 0.9601 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.774e-05/0.7805, allocations: 180.3 kB / 0.9603 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.127e-05/0.7805, allocations: 185.7 kB / 0.9605 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.879e-05/0.7806, allocations: 185.6 kB / 0.9607 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.7807, allocations: 416.9 kB / 0.9611 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/0.7807, allocations: 106.1 kB / 0.9612 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.675e-05/0.7807, allocations: 106.1 kB / 0.9613 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.747e-05/0.7808, allocations: 177.2 kB / 0.9614 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.7808, allocations: 185.4 kB / 0.9616 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.698e-05/0.7808, allocations: 185.3 kB / 0.9618 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.754e-05/0.7809, allocations: 181.2 kB / 0.962 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.466e-05/0.781, allocations: 317.2 kB / 0.9623 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.683e-05/0.781, allocations: 193.7 kB / 0.9625 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.7811, allocations: 181.2 kB / 0.9626 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.821e-05/0.7811, allocations: 109.9 kB / 0.9627 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.7812, allocations: 177.3 kB / 0.9629 GB, free: 376 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.7812, allocations: 109.9 kB / 0.963 GB, free: 260 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.855e-05/0.7813, allocations: 123.5 kB / 0.9631 GB, free: 160 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7813, allocations: 4 kB / 0.9631 GB, free: 156 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002409/0.7815, allocations: 3.375 kB / 0.9631 GB, free: 156 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.0001349/0.7817, allocations: 171.5 kB / 0.9633 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 3.978e-05/0.7817, allocations: 1.062 kB / 0.9633 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.7817, allocations: 1 kB / 0.9633 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.7817, allocations: 0 / 0.9633 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.7822, allocations: 0.5263 MB / 0.9638 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003202/0.7825, allocations: 247.7 kB / 0.964 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.7828, allocations: 0.6858 MB / 0.9647 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.692e-05/0.7828, allocations: 13.38 kB / 0.9647 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of SimCode: time 5.51e-07/0.7828, allocations: 0 / 0.9647 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.002278/0.7851, allocations: 0.6895 MB / 0.9654 GB, free: 14.16 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/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