Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001782/0.001782, allocations: 102.6 kB / 16.27 MB, free: 5.98 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.001967/0.001967, allocations: 189.8 kB / 17.2 MB, free: 5.602 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.626/1.626, allocations: 222.9 MB / 240.9 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.827/2.827, allocations: 469.8 MB / 0.743 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 61.56 kB / 0.9092 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3512, allocations: 159.2 MB / 1.065 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001969/0.3532, allocations: 0.6251 MB / 1.065 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001599/0.3548, allocations: 1.12 MB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.963e-05/0.3549, allocations: 0 / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 9.426e-05/0.355, allocations: 11.88 kB / 1.066 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.431e-05/0.3551, allocations: 3.938 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004391/0.3555, allocations: 127 kB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002679/0.3558, allocations: 199.7 kB / 1.067 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.3559, allocations: 16 kB / 1.067 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.356, allocations: 83.81 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.3562, allocations: 59.86 kB / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.186e-05/0.3562, allocations: 16 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-05/0.3563, allocations: 23.98 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.502e-05/0.3564, allocations: 31.91 kB / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.3565, allocations: 67.81 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.3568, allocations: 191.8 kB / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3568, allocations: 0 / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3568, allocations: 0 / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.3568, allocations: 4 kB / 1.067 GB, free: 12.18 MB / 0.8419 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.0006598/0.3575, allocations: 454.6 kB / 1.068 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.3576, allocations: 8.031 kB / 1.068 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.903e-05/0.3576, allocations: 12.84 kB / 1.068 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.3579, allocations: 216.3 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.3579, allocations: 16.31 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.571e-05/0.358, allocations: 8.375 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.3582, allocations: 107.9 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3582, allocations: 192 / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/0.3582, allocations: 3.938 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3582, allocations: 0 / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.668e-05/0.3583, allocations: 43.91 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006447/0.359, allocations: 488.8 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.009e-05/0.3591, allocations: 57.14 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.559e-05/0.3591, allocations: 29.75 kB / 1.069 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.816e-06/0.3591, allocations: 0 / 1.069 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001835/0.3593, allocations: 120.9 kB / 1.069 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.3593, allocations: 0 / 1.069 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6): time 0.0003048/0.3596, allocations: 133.5 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.3597, allocations: 81.11 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.3598, allocations: 133.7 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/0.3599, allocations: 29.7 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.645e-05/0.36, allocations: 108 kB / 1.069 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.36, allocations: 19.75 kB / 1.069 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.3601, allocations: 57.62 kB / 1.069 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.3603, allocations: 326.8 kB / 1.069 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.3606, allocations: 115.9 kB / 1.07 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000251/0.3608, allocations: 165 kB / 1.07 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003006/0.3611, allocations: 224.7 kB / 1.07 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3611, allocations: 0 / 1.07 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006182/0.3617, allocations: 380.7 kB / 1.07 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.012e-05/0.3618, allocations: 63.59 kB / 1.07 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.3618, allocations: 4 kB / 1.07 GB, free: 8.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3619, allocations: 4 kB / 1.07 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.344e-05/0.3619, allocations: 3.984 kB / 1.07 GB, free: 8.492 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.3619, allocations: 4 kB / 1.07 GB, free: 8.488 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004261/0.3623, allocations: 71.75 kB / 1.07 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-05/0.3624, allocations: 12 kB / 1.07 GB, free: 8.406 MB / 0.8419 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.000137/0.3625, allocations: 143.5 kB / 1.071 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.479e-05/0.3625, allocations: 3.906 kB / 1.071 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.108e-05/0.3626, allocations: 11.91 kB / 1.071 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3626, allocations: 0 / 1.071 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.555e-05/0.3626, allocations: 4 kB / 1.071 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3626, allocations: 3.938 kB / 1.071 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.3628, allocations: 181.6 kB / 1.071 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/0.3628, allocations: 4 kB / 1.071 GB, free: 8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.704e-06/0.3628, allocations: 0 / 1.071 GB, free: 8 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.3628, allocations: 4 kB / 1.071 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.3628, allocations: 7.984 kB / 1.071 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3629, allocations: 0 / 1.071 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3629, allocations: 0 / 1.071 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.363, allocations: 133.8 kB / 1.071 GB, free: 7.836 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.938e-05/0.3631, allocations: 85 kB / 1.071 GB, free: 7.734 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.3631, allocations: 4 kB / 1.071 GB, free: 7.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.36e-05/0.3632, allocations: 8.062 kB / 1.071 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.094e-05/0.3632, allocations: 11.92 kB / 1.071 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.3632, allocations: 4 kB / 1.071 GB, free: 7.707 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.803e-05/0.3633, allocations: 103.8 kB / 1.071 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3633, allocations: 0 / 1.071 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002491/0.3635, allocations: 35.94 kB / 1.071 GB, free: 7.57 MB / 0.8419 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.0001754/0.3637, allocations: 119.4 kB / 1.071 GB, free: 7.445 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004826/0.3642, allocations: 334.6 kB / 1.072 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3642, allocations: 0 / 1.072 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.219e-05/0.3643, allocations: 39.97 kB / 1.072 GB, free: 7.055 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.3646, allocations: 23.92 kB / 1.072 GB, free: 7.031 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004468/0.365, allocations: 240.4 kB / 1.072 GB, free: 6.766 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.3654, allocations: 0.704 MB / 1.073 GB, free: 6.035 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.3654, allocations: 15.44 kB / 1.073 GB, free: 6.02 MB / 0.8419 GB Notification: Performance of SimCode: time 3.51e-07/0.3654, allocations: 0 / 1.073 GB, free: 6.02 MB / 0.8419 GB Notification: Performance of Templates: time 0.003815/0.3693, allocations: 1.769 MB / 1.074 GB, free: 4.266 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches