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.001603/0.001604, allocations: 105.5 kB / 16.35 MB, free: 5.824 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.002664/0.002664, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.43/1.43, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.666/2.666, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 72.83 kB / 0.8773 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3159, allocations: 153 MB / 1.027 GB, free: 1.996 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.001894/0.3179, allocations: 0.6037 MB / 1.027 GB, free: 1.395 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003522/0.3182, allocations: 118.1 kB / 1.027 GB, free: 1.281 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.703e-05/0.3183, allocations: 0 / 1.027 GB, free: 1.281 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.824e-05/0.3184, allocations: 8 kB / 1.027 GB, free: 1.273 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003355/0.3188, allocations: 31.83 kB / 1.027 GB, free: 1.242 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 6.247e-05/0.3188, allocations: 8 kB / 1.027 GB, free: 1.234 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.168e-05/0.3189, allocations: 27.97 kB / 1.028 GB, free: 1.207 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.67e-05/0.319, allocations: 24 kB / 1.028 GB, free: 1.184 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.3191, allocations: 59.88 kB / 1.028 GB, free: 1.125 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.221e-05/0.3192, allocations: 19.86 kB / 1.028 GB, free: 1.105 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.3192, allocations: 4 kB / 1.028 GB, free: 1.102 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.544e-06/0.3193, allocations: 0 / 1.028 GB, free: 1.102 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.454e-05/0.3193, allocations: 12 kB / 1.028 GB, free: 1.09 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.591e-05/0.3193, allocations: 19.86 kB / 1.028 GB, free: 1.07 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.033e-05/0.3194, allocations: 39.83 kB / 1.028 GB, free: 1.031 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3194, allocations: 0 / 1.028 GB, free: 1.031 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3195, allocations: 4 kB / 1.028 GB, free: 1.027 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.3195, allocations: 7.938 kB / 1.028 GB, free: 1.02 MB / 0.795 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.0003864/0.3199, allocations: 348.5 kB / 1.028 GB, free: 0.6289 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.3199, allocations: 12.03 kB / 1.028 GB, free: 0.6172 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.3199, allocations: 8.844 kB / 1.028 GB, free: 0.6094 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.3201, allocations: 184.3 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.3202, allocations: 384 / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.3202, allocations: 8.375 kB / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.3203, allocations: 80.75 kB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.3204, allocations: 192 / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.3204, allocations: 3.938 kB / 1.028 GB, free: 292 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.3204, allocations: 4 kB / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.147e-05/0.3204, allocations: 31.91 kB / 1.028 GB, free: 256 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004884/0.3209, allocations: 0.6011 MB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.861e-05/0.321, allocations: 173.1 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.353e-05/0.3211, allocations: 80.14 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.3211, allocations: 75.28 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.3211, allocations: 105.8 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.3212, allocations: 4 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.131e-05/0.3212, allocations: 33.64 kB / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.3213, allocations: 126.7 kB / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.3214, allocations: 160.6 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.3215, allocations: 25.7 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/0.3215, allocations: 92.14 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.136e-06/0.3215, allocations: 0 / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.321e-05/0.3215, allocations: 17.66 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.875e-05/0.3216, allocations: 326.8 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.118e-06/0.3217, allocations: 0 / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.022e-05/0.3217, allocations: 8 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.387e-05/0.3217, allocations: 75.28 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-05/0.3217, allocations: 75.28 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.972e-05/0.3218, allocations: 41.55 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.24e-05/0.3218, allocations: 83.28 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-05/0.3219, allocations: 79.27 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.406e-05/0.3219, allocations: 154.6 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.22e-05/0.322, allocations: 79.22 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.917e-05/0.322, allocations: 158.6 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.3221, allocations: 83.16 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.3222, allocations: 75.28 kB / 1.031 GB, free: 13.41 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.0001159/0.3223, allocations: 280.3 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.364e-05/0.3223, allocations: 108.9 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.199e-05/0.3224, allocations: 120.8 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.756e-05/0.3224, allocations: 176.3 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.776e-05/0.3225, allocations: 180.2 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.419e-05/0.3226, allocations: 180.2 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.3228, allocations: 421.5 kB / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.288e-05/0.3228, allocations: 108.9 kB / 1.032 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.076e-05/0.3229, allocations: 105 kB / 1.033 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.668e-05/0.323, allocations: 184.2 kB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-05/0.323, allocations: 176.3 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.049e-05/0.3231, allocations: 188.3 kB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.302e-05/0.3231, allocations: 180.2 kB / 1.033 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.3233, allocations: 315.6 kB / 1.034 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.014e-05/0.3233, allocations: 194 kB / 1.034 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.573e-05/0.3234, allocations: 184.2 kB / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.352e-05/0.3235, allocations: 105 kB / 1.034 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.522e-05/0.3236, allocations: 180.2 kB / 1.034 GB, free: 9.883 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/0.3236, allocations: 108.9 kB / 1.034 GB, free: 9.77 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.286e-05/0.3237, allocations: 119.2 kB / 1.034 GB, free: 9.652 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3237, allocations: 0 / 1.034 GB, free: 9.652 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002543/0.324, allocations: 4 kB / 1.034 GB, free: 9.648 MB / 0.8106 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.0001462/0.3241, allocations: 186.5 kB / 1.035 GB, free: 9.453 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.444e-05/0.3242, allocations: 4 kB / 1.035 GB, free: 9.449 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3242, allocations: 0 / 1.035 GB, free: 9.449 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.3242, allocations: 0 / 1.035 GB, free: 9.449 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.3246, allocations: 459.6 kB / 1.035 GB, free: 8.996 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000272/0.3249, allocations: 203.3 kB / 1.035 GB, free: 8.773 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.3251, allocations: 0.6914 MB / 1.036 GB, free: 8.059 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.482e-05/0.3251, allocations: 3.984 kB / 1.036 GB, free: 8.055 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.103e-05/0.3252, allocations: 11.44 kB / 1.036 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.3252, allocations: 0 / 1.036 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of Templates: time 0.002301/0.3275, allocations: 410.2 kB / 1.036 GB, free: 7.645 MB / 0.8106 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 -s gbode -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