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.00136/0.00136, 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.001973/0.001973, allocations: 192.2 kB / 16.26 MB, free: 6.625 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.483/1.483, 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.426/2.426, allocations: 390.2 MB / 0.6643 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 67.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8245/0.8259, allocations: 140.4 MB / 0.9491 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.001624/0.8276, allocations: 0.6568 MB / 0.9498 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003144/0.8279, allocations: 112.8 kB / 0.9499 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.428e-05/0.828, allocations: 1.438 kB / 0.9499 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.385e-05/0.8281, allocations: 4 kB / 0.9499 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003469/0.8284, allocations: 31.86 kB / 0.9499 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.753e-05/0.8285, allocations: 6.344 kB / 0.9499 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.764e-05/0.8286, allocations: 28.3 kB / 0.9499 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.8287, allocations: 24.64 kB / 0.95 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.8288, allocations: 58.25 kB / 0.95 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.268e-05/0.8289, allocations: 16.86 kB / 0.95 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.8289, allocations: 2.312 kB / 0.95 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.516e-06/0.8289, allocations: 2.594 kB / 0.95 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.554e-05/0.8289, allocations: 13.56 kB / 0.95 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.939e-05/0.829, allocations: 19.73 kB / 0.9501 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.849e-05/0.829, allocations: 52.48 kB / 0.9501 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.829, allocations: 1.531 kB / 0.9501 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.363e-06/0.829, allocations: 0 / 0.9501 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.8291, allocations: 0 / 0.9501 GB, free: 8.375 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.000241/0.8293, allocations: 356.6 kB / 0.9505 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.8293, allocations: 8.875 kB / 0.9505 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.8294, allocations: 8.562 kB / 0.9505 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.8295, allocations: 188.1 kB / 0.9506 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.8295, allocations: 6.031 kB / 0.9507 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.8295, allocations: 4.188 kB / 0.9507 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.8296, allocations: 81.25 kB / 0.9507 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.8296, allocations: 192 / 0.9507 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.8297, allocations: 5.219 kB / 0.9507 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.8297, allocations: 1.438 kB / 0.9507 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.023e-05/0.8297, allocations: 32.44 kB / 0.9508 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003077/0.83, allocations: 0.6033 MB / 0.9514 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.665e-05/0.8301, allocations: 166.5 kB / 0.9515 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.318e-05/0.8301, allocations: 80.14 kB / 0.9516 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.8301, allocations: 75.28 kB / 0.9517 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.8301, allocations: 114.9 kB / 0.9518 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.8301, allocations: 0 / 0.9518 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.741e-05/0.8302, allocations: 33.3 kB / 0.9518 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.8302, allocations: 128.5 kB / 0.9519 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.8303, allocations: 163.1 kB / 0.9521 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.8304, allocations: 25.7 kB / 0.9521 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.536e-05/0.8304, allocations: 91.55 kB / 0.9522 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.8304, allocations: 5.219 kB / 0.9522 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.02e-05/0.8304, allocations: 11.06 kB / 0.9522 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.167e-05/0.8305, allocations: 321.5 kB / 0.9525 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.957e-06/0.8305, allocations: 0 / 0.9525 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.769e-05/0.8305, allocations: 6.344 kB / 0.9525 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.165e-05/0.8305, allocations: 80.69 kB / 0.9526 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.8305, allocations: 75.28 kB / 0.9527 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.702e-05/0.8306, allocations: 38.88 kB / 0.9527 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.8306, allocations: 84.66 kB / 0.9528 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.8306, allocations: 80.89 kB / 0.9529 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.736e-05/0.8307, allocations: 154.5 kB / 0.953 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.949e-06/0.8307, allocations: 76.56 kB / 0.9531 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.065e-05/0.8307, allocations: 159.9 kB / 0.9532 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.751e-05/0.8308, allocations: 88.59 kB / 0.9533 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.8308, allocations: 80.59 kB / 0.9534 GB, free: 4.922 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.261e-05/0.8309, allocations: 270.3 kB / 0.9537 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.8309, allocations: 112 kB / 0.9538 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.743e-05/0.831, allocations: 116.8 kB / 0.9539 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.118e-05/0.831, allocations: 181.5 kB / 0.9541 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.241e-05/0.831, allocations: 181.7 kB / 0.9542 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-05/0.8311, allocations: 188.4 kB / 0.9544 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.8312, allocations: 418.7 kB / 0.9548 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.8312, allocations: 101 kB / 0.9549 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.562e-05/0.8312, allocations: 110.2 kB / 0.955 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.209e-05/0.8313, allocations: 189.6 kB / 0.9552 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.8313, allocations: 184.3 kB / 0.9554 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.251e-05/0.8313, allocations: 181.5 kB / 0.9555 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.202e-05/0.8313, allocations: 177.6 kB / 0.9557 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.911e-05/0.8314, allocations: 317.1 kB / 0.956 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-05/0.8314, allocations: 188.8 kB / 0.9562 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/0.8315, allocations: 181.6 kB / 0.9564 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.078e-05/0.8315, allocations: 102.4 kB / 0.9565 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.8316, allocations: 189.6 kB / 0.9566 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.8316, allocations: 104.9 kB / 0.9567 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.782e-05/0.8316, allocations: 121.9 kB / 0.9569 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8316, allocations: 0 / 0.9569 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002536/0.8319, allocations: 8.125 kB / 0.9569 GB, free: 1.223 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 9.464e-05/0.832, allocations: 172.4 kB / 0.957 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 3.806e-05/0.8321, allocations: 3.984 kB / 0.957 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.8321, allocations: 1.375 kB / 0.957 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.083e-06/0.8321, allocations: 3.938 kB / 0.957 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.8323, allocations: 462.4 kB / 0.9575 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001992/0.8325, allocations: 207.8 kB / 0.9577 GB, free: 408 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000177/0.8327, allocations: 0.6899 MB / 0.9584 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.471e-05/0.8327, allocations: 2.75 kB / 0.9584 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.744e-05/0.8327, allocations: 10.19 kB / 0.9584 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of SimCode: time 2.7e-07/0.8328, allocations: 4 kB / 0.9584 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of Templates: time 0.002104/0.8349, allocations: 423.8 kB / 0.9588 GB, free: 15.47 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