Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007228/0.007228, allocations: 106.8 kB / 15.74 MB, free: 6.449 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.001209/0.001209, allocations: 195.4 kB / 16.67 MB, free: 6.352 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.819/2.819, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 67.89 kB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3692, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.001803/0.371, allocations: 0.5968 MB / 1.221 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00044/0.3714, allocations: 113.5 kB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.098e-05/0.3715, allocations: 0 / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000113/0.3716, allocations: 7.922 kB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003718/0.3719, allocations: 27.91 kB / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.066e-05/0.372, allocations: 19.92 kB / 1.221 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.522e-05/0.3721, allocations: 27.92 kB / 1.221 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.3722, allocations: 19.98 kB / 1.221 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.3724, allocations: 59.88 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.226e-05/0.3724, allocations: 11.94 kB / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.3724, allocations: 0 / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.366e-06/0.3724, allocations: 4 kB / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.247e-05/0.3725, allocations: 11.98 kB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.623e-05/0.3725, allocations: 15.88 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.968e-05/0.3726, allocations: 51.75 kB / 1.222 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3726, allocations: 4 kB / 1.222 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3726, allocations: 0 / 1.222 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.3726, allocations: 3.984 kB / 1.222 GB, free: 12.85 MB / 0.9825 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.0003565/0.373, allocations: 356.7 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.373, allocations: 12.03 kB / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.3731, allocations: 4.938 kB / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.3732, allocations: 184.2 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.3733, allocations: 4.375 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.3733, allocations: 4.375 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.3734, allocations: 84.78 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.3734, allocations: 8.125 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.3734, allocations: 7.938 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.3734, allocations: 0 / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.406e-05/0.3735, allocations: 19.98 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004493/0.3739, allocations: 0.6012 MB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.73e-05/0.374, allocations: 169.1 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.404e-05/0.374, allocations: 84.08 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.3741, allocations: 75.28 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.453e-05/0.3741, allocations: 109.8 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.3741, allocations: 0 / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.525e-05/0.3742, allocations: 33.66 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.3743, allocations: 126.7 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.3744, allocations: 159.7 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.3744, allocations: 29.64 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.167e-05/0.3745, allocations: 92.14 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-06/0.3745, allocations: 0 / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/0.3745, allocations: 21.7 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.3746, allocations: 322.7 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.718e-06/0.3746, allocations: 3.938 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.067e-06/0.3746, allocations: 4 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.199e-05/0.3747, allocations: 75.28 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-05/0.3747, allocations: 75.28 kB / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.35e-05/0.3748, allocations: 33.66 kB / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.098e-05/0.3748, allocations: 83.27 kB / 1.224 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-05/0.3749, allocations: 91.25 kB / 1.224 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.423e-05/0.3749, allocations: 154.6 kB / 1.224 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.757e-05/0.375, allocations: 75.28 kB / 1.225 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.093e-05/0.375, allocations: 154.5 kB / 1.225 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.843e-05/0.3751, allocations: 83.22 kB / 1.225 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.3751, allocations: 79.22 kB / 1.225 GB, free: 9.238 MB / 0.9825 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 0.0001249/0.3753, allocations: 276.9 kB / 1.225 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.876e-05/0.3753, allocations: 104.9 kB / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.073e-05/0.3754, allocations: 117 kB / 1.225 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.526e-05/0.3754, allocations: 184.2 kB / 1.225 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.186e-05/0.3755, allocations: 184.3 kB / 1.226 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.965e-05/0.3756, allocations: 188.1 kB / 1.226 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/0.3758, allocations: 417.2 kB / 1.226 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.142e-05/0.3758, allocations: 101 kB / 1.226 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/0.3759, allocations: 108.9 kB / 1.226 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.268e-05/0.3759, allocations: 180.2 kB / 1.227 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.357e-05/0.376, allocations: 180.2 kB / 1.227 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-05/0.376, allocations: 180.3 kB / 1.227 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-05/0.3761, allocations: 184.3 kB / 1.227 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.3763, allocations: 311.7 kB / 1.227 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.751e-05/0.3763, allocations: 194 kB / 1.228 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.154e-05/0.3764, allocations: 180.3 kB / 1.228 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.979e-05/0.3765, allocations: 105 kB / 1.228 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.501e-05/0.3766, allocations: 184.2 kB / 1.228 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.669e-05/0.3766, allocations: 104.9 kB / 1.228 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.518e-05/0.3767, allocations: 119.2 kB / 1.228 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3767, allocations: 0 / 1.228 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002553/0.377, allocations: 4 kB / 1.228 GB, free: 5.484 MB / 0.9825 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.0001313/0.3771, allocations: 182.5 kB / 1.228 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 5.324e-05/0.3771, allocations: 11.88 kB / 1.228 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3771, allocations: 0 / 1.228 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.164e-06/0.3771, allocations: 3.938 kB / 1.228 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.3775, allocations: 466.2 kB / 1.229 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002951/0.3778, allocations: 216 kB / 1.229 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.3781, allocations: 0.6846 MB / 1.23 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.845e-05/0.3781, allocations: 7.984 kB / 1.23 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.039e-05/0.3781, allocations: 11.44 kB / 1.23 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.3781, allocations: 0 / 1.23 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of Templates: time 0.003042/0.3812, allocations: 362.1 kB / 1.23 GB, free: 3.504 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches