Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001231/0.001232, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001537/0.001537, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.403/1.403, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.509/2.509, allocations: 390.2 MB / 0.6642 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 67.89 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9403/0.9416, allocations: 140.4 MB / 0.9489 GB, free: 9.281 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002496/0.9441, allocations: 0.6892 MB / 0.9496 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001602/0.9457, allocations: 1.124 MB / 0.9507 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.507e-05/0.9458, allocations: 0 / 0.9507 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.9459, allocations: 9.312 kB / 0.9507 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.9461, allocations: 9.297 kB / 0.9507 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004509/0.9465, allocations: 116.2 kB / 0.9508 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.9467, allocations: 163.7 kB / 0.951 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.9469, allocations: 17.73 kB / 0.951 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.624e-05/0.947, allocations: 61.94 kB / 0.9511 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.9471, allocations: 54.47 kB / 0.9511 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.634e-05/0.9471, allocations: 9.094 kB / 0.9511 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.552e-05/0.9472, allocations: 23.12 kB / 0.9511 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.78e-05/0.9473, allocations: 30 kB / 0.9512 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.801e-05/0.9474, allocations: 56.72 kB / 0.9512 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.9476, allocations: 189.6 kB / 0.9514 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.9476, allocations: 0 / 0.9514 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.122e-06/0.9476, allocations: 1.438 kB / 0.9514 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.9477, allocations: 0 / 0.9514 GB, free: 7.418 MB / 0.7169 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.0005653/0.9482, allocations: 454.8 kB / 0.9518 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.9483, allocations: 9.906 kB / 0.9518 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.395e-05/0.9483, allocations: 13.5 kB / 0.9519 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.9486, allocations: 216.6 kB / 0.9521 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.9486, allocations: 11.12 kB / 0.9521 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.9486, allocations: 13.05 kB / 0.9521 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.9488, allocations: 101.3 kB / 0.9522 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.9488, allocations: 192 / 0.9522 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.9489, allocations: 9.188 kB / 0.9522 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.9489, allocations: 1.375 kB / 0.9522 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.59e-05/0.9489, allocations: 38.56 kB / 0.9522 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004881/0.9494, allocations: 492.6 kB / 0.9527 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.641e-05/0.9495, allocations: 60.3 kB / 0.9528 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.604e-05/0.9495, allocations: 32.28 kB / 0.9528 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.56e-06/0.9496, allocations: 0 / 0.9528 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.9497, allocations: 112.4 kB / 0.9529 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.9497, allocations: 0 / 0.9529 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0002861/0.95, allocations: 137.1 kB / 0.953 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.95, allocations: 78.55 kB / 0.9531 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.532e-05/0.9501, allocations: 135.3 kB / 0.9532 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.9502, allocations: 29.39 kB / 0.9533 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.096e-05/0.9502, allocations: 103.7 kB / 0.9534 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.9503, allocations: 11.22 kB / 0.9534 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.9504, allocations: 55.78 kB / 0.9534 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.109e-05/0.9505, allocations: 325 kB / 0.9537 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/0.9507, allocations: 123.2 kB / 0.9539 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.9509, allocations: 159 kB / 0.954 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002667/0.9512, allocations: 221.9 kB / 0.9542 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.9512, allocations: 0 / 0.9542 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005744/0.9518, allocations: 389.6 kB / 0.9546 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.572e-05/0.9518, allocations: 72.52 kB / 0.9547 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.9518, allocations: 2.781 kB / 0.9547 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.9519, allocations: 5.125 kB / 0.9547 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.059e-05/0.9519, allocations: 2.219 kB / 0.9547 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.9519, allocations: 2.281 kB / 0.9547 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004009/0.9523, allocations: 70.16 kB / 0.9547 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.069e-05/0.9524, allocations: 12.31 kB / 0.9547 GB, free: 4.461 MB / 0.7169 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.0001145/0.9525, allocations: 144.2 kB / 0.9549 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.969e-05/0.9525, allocations: 6.125 kB / 0.9549 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.967e-05/0.9525, allocations: 11.59 kB / 0.9549 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.9525, allocations: 0 / 0.9549 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.9526, allocations: 1.062 kB / 0.9549 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.9526, allocations: 9.25 kB / 0.9549 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.9527, allocations: 188.1 kB / 0.9551 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.9527, allocations: 0 / 0.9551 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.036e-05/0.9527, allocations: 6.609 kB / 0.9551 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.9527, allocations: 0 / 0.9551 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.9527, allocations: 2.562 kB / 0.9551 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.9528, allocations: 4 kB / 0.9551 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.9528, allocations: 1.094 kB / 0.9551 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.9529, allocations: 141.5 kB / 0.9552 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.511e-05/0.953, allocations: 83.33 kB / 0.9553 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.953, allocations: 1.25 kB / 0.9553 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.067e-05/0.953, allocations: 1.188 kB / 0.9553 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.953, allocations: 14.27 kB / 0.9553 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.9531, allocations: 3.438 kB / 0.9553 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.833e-05/0.9531, allocations: 103.8 kB / 0.9554 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9531, allocations: 1.156 kB / 0.9554 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002746/0.9534, allocations: 30.56 kB / 0.9555 GB, free: 3.762 MB / 0.7169 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.0001508/0.9536, allocations: 108.7 kB / 0.9556 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004169/0.954, allocations: 321.8 kB / 0.9559 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.954, allocations: 8 kB / 0.9559 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.401e-05/0.954, allocations: 41.59 kB / 0.9559 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.9543, allocations: 15.52 kB / 0.9559 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003828/0.9547, allocations: 225.7 kB / 0.9562 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001386/0.9548, allocations: 0.6964 MB / 0.9568 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.383e-05/0.9549, allocations: 13.14 kB / 0.9568 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.882e-05/0.9549, allocations: 15 kB / 0.9569 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.9549, allocations: 0 / 0.9569 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.00469/0.9596, allocations: 2.175 MB / 0.959 GB, free: 1.391 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches