Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009371/0.0009373, allocations: 90.05 kB / 16.02 MB, free: 80 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.001137/0.001137, allocations: 179.9 kB / 16.92 MB, free: 6.652 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.356/1.356, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.7/2.7, allocations: 462.7 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003605, allocations: 9.188 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2972, allocations: 159.6 MB / 1.059 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.0007383/0.298, allocations: 333.9 kB / 1.06 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004097/0.2984, allocations: 115.7 kB / 1.06 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.426e-05/0.2985, allocations: 4 kB / 1.06 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.841e-05/0.2985, allocations: 3.938 kB / 1.06 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003043/0.2988, allocations: 23.91 kB / 1.06 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.219e-05/0.2989, allocations: 8 kB / 1.06 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.254e-05/0.299, allocations: 23.98 kB / 1.06 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.817e-05/0.2991, allocations: 35.91 kB / 1.06 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.2992, allocations: 39.91 kB / 1.06 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.219e-05/0.2993, allocations: 15.92 kB / 1.06 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.2993, allocations: 4 kB / 1.06 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.652e-06/0.2993, allocations: 4 kB / 1.06 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.947e-05/0.2994, allocations: 7.984 kB / 1.06 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.009e-05/0.2994, allocations: 41.58 kB / 1.06 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.99e-05/0.2995, allocations: 35.92 kB / 1.06 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2995, allocations: 3.938 kB / 1.06 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2995, allocations: 0 / 1.06 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.2995, allocations: 0 / 1.06 GB, free: 4.312 MB / 0.8106 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.0002846/0.2998, allocations: 343.6 kB / 1.06 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.2999, allocations: 15.95 kB / 1.06 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.2999, allocations: 8.844 kB / 1.06 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.3001, allocations: 184.2 kB / 1.061 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.3001, allocations: 12.36 kB / 1.061 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.3001, allocations: 4.375 kB / 1.061 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.3003, allocations: 76.75 kB / 1.061 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.3003, allocations: 192 / 1.061 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.3003, allocations: 11.94 kB / 1.061 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.3003, allocations: 0 / 1.061 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.92e-05/0.3004, allocations: 23.92 kB / 1.061 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004204/0.3008, allocations: 0.6051 MB / 1.061 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.281e-05/0.3009, allocations: 165.1 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.309e-05/0.3009, allocations: 84.14 kB / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.3009, allocations: 75.28 kB / 1.062 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.301, allocations: 113.8 kB / 1.062 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 2.855e-06/0.301, allocations: 0 / 1.062 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.207e-05/0.3011, allocations: 37.55 kB / 1.062 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.3011, allocations: 126.7 kB / 1.062 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.3013, allocations: 155.4 kB / 1.062 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.3013, allocations: 33.7 kB / 1.062 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.029e-05/0.3014, allocations: 96.12 kB / 1.062 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-06/0.3014, allocations: 3.984 kB / 1.062 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.705e-05/0.3014, allocations: 13.72 kB / 1.062 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.595e-05/0.3015, allocations: 314.8 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.557e-06/0.3015, allocations: 0 / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.589e-05/0.3015, allocations: 11.98 kB / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.449e-05/0.3016, allocations: 75.28 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-05/0.3016, allocations: 79.31 kB / 1.063 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.359e-05/0.3017, allocations: 37.55 kB / 1.063 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.681e-05/0.3017, allocations: 83.28 kB / 1.063 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.426e-05/0.3017, allocations: 75.28 kB / 1.063 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.652e-05/0.3018, allocations: 154.5 kB / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.276e-05/0.3018, allocations: 75.28 kB / 1.063 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.162e-05/0.3019, allocations: 158.5 kB / 1.063 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.302, allocations: 91.16 kB / 1.063 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.3021, allocations: 79.28 kB / 1.063 GB, free: 0.6953 MB / 0.8106 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.0001149/0.3022, allocations: 268.4 kB / 1.064 GB, free: 432 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.113e-05/0.3023, allocations: 117 kB / 1.064 GB, free: 308 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.92e-05/0.3023, allocations: 108.9 kB / 1.064 GB, free: 192 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.723e-05/0.3024, allocations: 188.3 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-05/0.3025, allocations: 184.2 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.422e-05/0.3025, allocations: 180.2 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.3028, allocations: 421.1 kB / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.408e-05/0.3029, allocations: 105 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.998e-05/0.3029, allocations: 104.9 kB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.6e-05/0.303, allocations: 180.3 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.189e-05/0.3031, allocations: 184.2 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.993e-05/0.3032, allocations: 188.2 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.032e-05/0.3033, allocations: 176.3 kB / 1.066 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/0.3035, allocations: 311.7 kB / 1.066 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.3036, allocations: 190 kB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.652e-05/0.3037, allocations: 180.2 kB / 1.066 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.516e-05/0.3038, allocations: 108.9 kB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/0.3038, allocations: 180.2 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.652e-05/0.3039, allocations: 116.9 kB / 1.067 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.927e-05/0.304, allocations: 128.8 kB / 1.067 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.304, allocations: 0 / 1.067 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002691/0.3042, allocations: 4 kB / 1.067 GB, free: 12.93 MB / 0.8262 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.0001371/0.3044, allocations: 170.5 kB / 1.067 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.747e-05/0.3044, allocations: 4 kB / 1.067 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3044, allocations: 0 / 1.067 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.876e-06/0.3045, allocations: 3.938 kB / 1.067 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.3048, allocations: 0.5232 MB / 1.067 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002895/0.3051, allocations: 239.6 kB / 1.068 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.3054, allocations: 0.6926 MB / 1.068 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.946e-05/0.3054, allocations: 7.438 kB / 1.068 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of SimCode: time 6.61e-07/0.3054, allocations: 0 / 1.068 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of Templates: time 0.002049/0.3075, allocations: 0.7018 MB / 1.069 GB, free: 10.52 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches