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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.005438/0.005438, allocations: 99.7 kB / 15.73 MB, free: 6.043 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.001119/0.001119, allocations: 194.7 kB / 16.67 MB, free: 5.973 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.842/2.842, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 67.91 kB / 1.054 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4242/0.4255, allocations: 157.4 MB / 1.208 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.002227/0.4278, allocations: 0.5944 MB / 1.208 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004221/0.4283, allocations: 111.7 kB / 1.208 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.742e-05/0.4283, allocations: 0 / 1.208 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.4285, allocations: 11.92 kB / 1.208 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004359/0.4289, allocations: 31.86 kB / 1.208 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 8.141e-05/0.429, allocations: 15.97 kB / 1.208 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.803e-05/0.4291, allocations: 19.98 kB / 1.208 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.4293, allocations: 23.98 kB / 1.209 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.4294, allocations: 55.84 kB / 1.209 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.199e-05/0.4295, allocations: 19.91 kB / 1.209 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.4295, allocations: 4 kB / 1.209 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.274e-06/0.4295, allocations: 0 / 1.209 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.131e-05/0.4296, allocations: 15.98 kB / 1.209 GB, free: 8.766 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.065e-05/0.4296, allocations: 19.88 kB / 1.209 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.892e-05/0.4297, allocations: 43.81 kB / 1.209 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4297, allocations: 0 / 1.209 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4298, allocations: 0 / 1.209 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.4298, allocations: 0 / 1.209 GB, free: 8.703 MB / 0.9669 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.0003832/0.4302, allocations: 355.3 kB / 1.209 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.4302, allocations: 8.625 kB / 1.209 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.4302, allocations: 8.844 kB / 1.209 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.4305, allocations: 188.3 kB / 1.209 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.4305, allocations: 12.31 kB / 1.209 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.4305, allocations: 384 / 1.209 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.4307, allocations: 84.8 kB / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.4307, allocations: 192 / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.4307, allocations: 3.938 kB / 1.209 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.4307, allocations: 0 / 1.209 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.443e-05/0.4308, allocations: 27.92 kB / 1.209 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004868/0.4313, allocations: 0.605 MB / 1.21 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.631e-05/0.4314, allocations: 165.1 kB / 1.21 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.187e-05/0.4314, allocations: 80.14 kB / 1.21 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/0.4315, allocations: 83.28 kB / 1.21 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.4315, allocations: 105.8 kB / 1.21 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.4315, allocations: 0 / 1.21 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.865e-05/0.4316, allocations: 41.53 kB / 1.21 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.913e-05/0.4317, allocations: 130.7 kB / 1.21 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.4318, allocations: 153.8 kB / 1.211 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.4319, allocations: 25.7 kB / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.543e-05/0.4319, allocations: 100.1 kB / 1.211 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.4319, allocations: 0 / 1.211 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/0.432, allocations: 9.719 kB / 1.211 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.4321, allocations: 322.8 kB / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.27e-06/0.4321, allocations: 0 / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.506e-05/0.4321, allocations: 7.984 kB / 1.211 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.892e-05/0.4322, allocations: 75.28 kB / 1.211 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.511e-05/0.4322, allocations: 79.22 kB / 1.211 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.876e-05/0.4323, allocations: 41.58 kB / 1.211 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.506e-05/0.4323, allocations: 80.53 kB / 1.211 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.84e-05/0.4323, allocations: 83.28 kB / 1.211 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.614e-05/0.4324, allocations: 158.5 kB / 1.212 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.103e-05/0.4324, allocations: 75.28 kB / 1.212 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.455e-05/0.4325, allocations: 155.1 kB / 1.212 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.4326, allocations: 95.14 kB / 1.212 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.4327, allocations: 75.28 kB / 1.212 GB, free: 5.074 MB / 0.9669 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.0001278/0.4328, allocations: 272.4 kB / 1.212 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.623e-05/0.4329, allocations: 108.8 kB / 1.212 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.257e-05/0.4329, allocations: 109 kB / 1.212 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.076e-05/0.433, allocations: 180.3 kB / 1.213 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.466e-05/0.4331, allocations: 196.2 kB / 1.213 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.676e-05/0.4331, allocations: 180.2 kB / 1.213 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.4333, allocations: 417.1 kB / 1.213 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.24e-05/0.4334, allocations: 101 kB / 1.213 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.87e-05/0.4334, allocations: 109 kB / 1.214 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.758e-05/0.4335, allocations: 184.2 kB / 1.214 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-05/0.4336, allocations: 176.3 kB / 1.214 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.236e-05/0.4336, allocations: 180.2 kB / 1.214 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.792e-05/0.4337, allocations: 184.2 kB / 1.214 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.4338, allocations: 315.7 kB / 1.215 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.871e-05/0.4339, allocations: 190 kB / 1.215 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.59e-05/0.434, allocations: 180.2 kB / 1.215 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.662e-05/0.4341, allocations: 104.9 kB / 1.215 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.755e-05/0.4342, allocations: 184.3 kB / 1.215 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.611e-05/0.4342, allocations: 108.9 kB / 1.215 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000113/0.4343, allocations: 129.1 kB / 1.215 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4343, allocations: 0 / 1.215 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002597/0.4346, allocations: 4 kB / 1.215 GB, free: 1.316 MB / 0.9669 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.0001477/0.4347, allocations: 172.5 kB / 1.216 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 5.518e-05/0.4348, allocations: 4 kB / 1.216 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4348, allocations: 0 / 1.216 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.256e-06/0.4348, allocations: 3.938 kB / 1.216 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.4352, allocations: 471.5 kB / 1.216 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000287/0.4355, allocations: 220.1 kB / 1.216 GB, free: 436 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.4358, allocations: 0.6846 MB / 1.217 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.873e-05/0.4358, allocations: 4 kB / 1.217 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.076e-05/0.4359, allocations: 11.44 kB / 1.217 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.4359, allocations: 0 / 1.217 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of Templates: time 0.00272/0.4386, allocations: 432.5 kB / 1.217 GB, free: 15.29 MB / 0.9825 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/jenkins/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