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.007806/0.007806, allocations: 101.6 kB / 15.88 MB, free: 5.867 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.001712/0.001712, allocations: 191.2 kB / 16.79 MB, free: 5.809 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.368/1.368, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.775/2.775, allocations: 461.8 MB / 0.7348 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 65.72 kB / 0.899 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3695, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.002153/0.3717, allocations: 0.6534 MB / 1.053 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000468/0.3722, allocations: 127.7 kB / 1.054 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.836e-05/0.3722, allocations: 0 / 1.054 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.3724, allocations: 3.984 kB / 1.054 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00036/0.3727, allocations: 23.92 kB / 1.054 GB, free: 7.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.219e-05/0.3728, allocations: 8 kB / 1.054 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.827e-05/0.3729, allocations: 19.97 kB / 1.054 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.373, allocations: 23.98 kB / 1.054 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.3732, allocations: 59.83 kB / 1.054 GB, free: 7.379 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.244e-05/0.3732, allocations: 15.92 kB / 1.054 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.3733, allocations: 4 kB / 1.054 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.103e-05/0.3733, allocations: 4 kB / 1.054 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.476e-05/0.3733, allocations: 11.94 kB / 1.054 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.757e-05/0.3734, allocations: 23.84 kB / 1.054 GB, free: 7.32 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.083e-05/0.3735, allocations: 27.95 kB / 1.054 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3735, allocations: 0 / 1.054 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.91e-07/0.3735, allocations: 3.938 kB / 1.054 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.3735, allocations: 0 / 1.054 GB, free: 7.289 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.0003785/0.3739, allocations: 355.6 kB / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.3739, allocations: 11.97 kB / 1.054 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.513e-05/0.374, allocations: 16.84 kB / 1.054 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.3742, allocations: 184.2 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.3742, allocations: 4.375 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.3742, allocations: 384 / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.3744, allocations: 80.81 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.3744, allocations: 192 / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.3744, allocations: 7.875 kB / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3744, allocations: 0 / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.469e-05/0.3745, allocations: 35.91 kB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000487/0.375, allocations: 0.6049 MB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.897e-05/0.375, allocations: 165.1 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.175e-05/0.3751, allocations: 84.14 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.484e-05/0.3751, allocations: 79.28 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.142e-05/0.3752, allocations: 105.8 kB / 1.055 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.3752, allocations: 3.938 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 8.1e-05/0.3753, allocations: 33.7 kB / 1.055 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/0.3753, allocations: 126.7 kB / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.3755, allocations: 163.5 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.3755, allocations: 25.7 kB / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.998e-05/0.3756, allocations: 92.14 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.3756, allocations: 0 / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-05/0.3756, allocations: 9.719 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3757, allocations: 326.8 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.26e-06/0.3757, allocations: 0 / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.216e-05/0.3758, allocations: 4 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.938e-05/0.3758, allocations: 79.31 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.412e-05/0.3758, allocations: 75.28 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.027e-05/0.3759, allocations: 37.55 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.302e-05/0.3759, allocations: 80.53 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.662e-05/0.376, allocations: 79.28 kB / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.765e-05/0.376, allocations: 162.5 kB / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.077e-05/0.3761, allocations: 79.28 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-05/0.3761, allocations: 154.6 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.3763, allocations: 87.16 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.3763, allocations: 79.22 kB / 1.057 GB, free: 3.664 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.0001172/0.3764, allocations: 272.4 kB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.29e-05/0.3765, allocations: 109 kB / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.413e-05/0.3766, allocations: 116.9 kB / 1.058 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.446e-05/0.3766, allocations: 192.3 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.374e-05/0.3767, allocations: 180.2 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.614e-05/0.3768, allocations: 180.2 kB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.377, allocations: 417.1 kB / 1.058 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.134e-05/0.3771, allocations: 108.9 kB / 1.059 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.179e-05/0.3771, allocations: 109 kB / 1.059 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.884e-05/0.3772, allocations: 184.2 kB / 1.059 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.245e-05/0.3772, allocations: 176.3 kB / 1.059 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.582e-05/0.3773, allocations: 180.2 kB / 1.059 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.645e-05/0.3774, allocations: 184.3 kB / 1.059 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.3775, allocations: 319.6 kB / 1.06 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.324e-05/0.3776, allocations: 186 kB / 1.06 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.296e-05/0.3777, allocations: 180.2 kB / 1.06 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.504e-05/0.3778, allocations: 105 kB / 1.06 GB, free: 332 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.951e-05/0.3778, allocations: 192.2 kB / 1.06 GB, free: 132 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.455e-05/0.3779, allocations: 108.9 kB / 1.06 GB, free: 16 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001019/0.378, allocations: 121 kB / 1.06 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.378, allocations: 0 / 1.06 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002668/0.3783, allocations: 4 kB / 1.06 GB, free: 15.89 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.000131/0.3784, allocations: 170.5 kB / 1.061 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.138e-05/0.3785, allocations: 4 kB / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3785, allocations: 0 / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.455e-06/0.3785, allocations: 11.92 kB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.3789, allocations: 0.5185 MB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002873/0.3792, allocations: 245.1 kB / 1.061 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.3794, allocations: 0.6887 MB / 1.062 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.152e-05/0.3795, allocations: 7.438 kB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of SimCode: time 4.61e-07/0.3795, allocations: 0 / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of Templates: time 0.002123/0.3816, allocations: 0.6954 MB / 1.063 GB, free: 13.48 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