Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.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.BooleanVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u.1.|booRep.y.1|1.|booRep.y.2|2.|booRep.y.3|2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u.1.|booRep.y.1|1.|booRep.y.2|2.|booRep.y.3|2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 100.1 kB / 15.88 MB, free: 12 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.002014/0.002014, allocations: 197 kB / 16.79 MB, free: 6.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.379/1.379, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.75/2.75, allocations: 461.9 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 71.34 kB / 0.8991 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3266, allocations: 157.4 MB / 1.053 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.00213/0.3287, allocations: 0.6944 MB / 1.053 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.3303, allocations: 1.135 MB / 1.055 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.25e-05/0.3303, allocations: 0 / 1.055 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.3305, allocations: 4 kB / 1.055 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.071e-05/0.3306, allocations: 3.938 kB / 1.055 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004292/0.331, allocations: 114.9 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.3313, allocations: 163.7 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.3314, allocations: 16 kB / 1.055 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.3315, allocations: 67.81 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.3316, allocations: 47.88 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.964e-05/0.3317, allocations: 8 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.3318, allocations: 23.98 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.901e-05/0.3319, allocations: 35.89 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.332, allocations: 51.83 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.3322, allocations: 148 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3322, allocations: 0 / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3322, allocations: 0 / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.3322, allocations: 0 / 1.055 GB, free: 5.746 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005964/0.3328, allocations: 466.6 kB / 1.056 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.3329, allocations: 11.97 kB / 1.056 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.744e-05/0.333, allocations: 8.938 kB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.3332, allocations: 220.2 kB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.3332, allocations: 12.38 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/0.3333, allocations: 16.3 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.3335, allocations: 103.9 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.3335, allocations: 192 / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.3335, allocations: 3.938 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3335, allocations: 4 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.325e-05/0.3336, allocations: 43.91 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005664/0.3342, allocations: 484.8 kB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.882e-05/0.3342, allocations: 57.14 kB / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.085e-05/0.3343, allocations: 33.75 kB / 1.057 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.05e-06/0.3343, allocations: 0 / 1.057 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.3345, allocations: 120.9 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.3345, allocations: 0 / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0002869/0.3348, allocations: 133.5 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.3348, allocations: 81.11 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.3349, allocations: 133.7 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.762e-05/0.335, allocations: 29.7 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.387e-05/0.3351, allocations: 104 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.3351, allocations: 15.83 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.3352, allocations: 53.69 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.3353, allocations: 330.8 kB / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/0.3355, allocations: 123.9 kB / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/0.3358, allocations: 161 kB / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002613/0.3361, allocations: 220.3 kB / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3361, allocations: 0 / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005769/0.3366, allocations: 385 kB / 1.058 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.581e-05/0.3367, allocations: 72.95 kB / 1.058 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3367, allocations: 0 / 1.058 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.3367, allocations: 4 kB / 1.058 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.968e-05/0.3368, allocations: 4.188 kB / 1.058 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.3368, allocations: 4 kB / 1.058 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003997/0.3372, allocations: 68.3 kB / 1.059 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.098e-05/0.3372, allocations: 16 kB / 1.059 GB, free: 1.949 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (booPul[1].y,$PRE.booPul[1].y,$whenCondition3,$whenCondition4,booPul[2].y,$PRE.booPul[2].y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001281/0.3374, allocations: 137.8 kB / 1.059 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.3374, allocations: 4 kB / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.855e-05/0.3374, allocations: 11.91 kB / 1.059 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3374, allocations: 0 / 1.059 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.3375, allocations: 4 kB / 1.059 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3375, allocations: 7.875 kB / 1.059 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.3376, allocations: 185.5 kB / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.3376, allocations: 4 kB / 1.059 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.088e-05/0.3376, allocations: 3.984 kB / 1.059 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3376, allocations: 0 / 1.059 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.3377, allocations: 4 kB / 1.059 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3377, allocations: 0 / 1.059 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3377, allocations: 4 kB / 1.059 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.3378, allocations: 133.8 kB / 1.059 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.822e-05/0.3379, allocations: 81.02 kB / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.3379, allocations: 8 kB / 1.059 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.259e-05/0.3379, allocations: 0 / 1.059 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.338, allocations: 15.86 kB / 1.059 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.338, allocations: 4.062 kB / 1.059 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.568e-05/0.3381, allocations: 107.2 kB / 1.059 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3381, allocations: 0 / 1.059 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000267/0.3384, allocations: 35.94 kB / 1.059 GB, free: 1.109 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul[1].y,$whenCondition1,$whenCondition2,booPul[2].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001764/0.3385, allocations: 107.2 kB / 1.059 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004548/0.339, allocations: 326.6 kB / 1.06 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.339, allocations: 4.375 kB / 1.06 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.426e-05/0.3391, allocations: 47.91 kB / 1.06 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.3394, allocations: 19.97 kB / 1.06 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004713/0.3398, allocations: 242.7 kB / 1.06 GB, free: 316 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.3401, allocations: 0.7043 MB / 1.061 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.368e-05/0.3402, allocations: 11.44 kB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of SimCode: time 4.71e-07/0.3402, allocations: 0 / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of Templates: time 0.003916/0.3441, allocations: 1.757 MB / 1.062 GB, free: 13.82 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches