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.001874/0.001874, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001893/0.001893, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.958/2.958, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003859/0.000386, allocations: 8.438 kB / 0.9021 GB, free: 36.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3592, allocations: 159.6 MB / 1.058 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.0008682/0.3601, allocations: 346 kB / 1.058 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.3615, allocations: 1.096 MB / 1.059 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.884e-05/0.3616, allocations: 4 kB / 1.059 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.326e-05/0.3617, allocations: 11.94 kB / 1.059 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.584e-05/0.3618, allocations: 3.984 kB / 1.059 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004593/0.3623, allocations: 107 kB / 1.06 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.3625, allocations: 147.7 kB / 1.06 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.3626, allocations: 16 kB / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.3627, allocations: 63.88 kB / 1.06 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.503e-05/0.3628, allocations: 39.88 kB / 1.06 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.3629, allocations: 8 kB / 1.06 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.913e-05/0.363, allocations: 23.98 kB / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.423e-05/0.363, allocations: 23.91 kB / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.683e-05/0.3631, allocations: 37.7 kB / 1.06 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.3633, allocations: 155.8 kB / 1.06 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3633, allocations: 0 / 1.06 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3633, allocations: 0 / 1.06 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.3633, allocations: 0 / 1.06 GB, free: 3.227 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.0005177/0.3638, allocations: 418.6 kB / 1.06 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.3639, allocations: 12.03 kB / 1.06 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.506e-05/0.364, allocations: 11.91 kB / 1.06 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.3642, allocations: 218.9 kB / 1.061 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.3643, allocations: 8 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.623e-05/0.3643, allocations: 11.95 kB / 1.061 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.3645, allocations: 103.2 kB / 1.061 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3645, allocations: 4 kB / 1.061 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.3645, allocations: 7.984 kB / 1.061 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.3645, allocations: 0 / 1.061 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.66e-05/0.3646, allocations: 43.97 kB / 1.061 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005396/0.3652, allocations: 496.7 kB / 1.061 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.25e-05/0.3652, allocations: 53.2 kB / 1.061 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.633e-05/0.3653, allocations: 33.69 kB / 1.061 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-06/0.3653, allocations: 0 / 1.061 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.3655, allocations: 113 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.3655, allocations: 0 / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0002823/0.3658, allocations: 133.5 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.3658, allocations: 81.05 kB / 1.062 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.3659, allocations: 137.7 kB / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.366, allocations: 29.7 kB / 1.062 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.717e-05/0.3661, allocations: 108 kB / 1.062 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.3661, allocations: 15.75 kB / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.358e-05/0.3661, allocations: 12 kB / 1.062 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.3662, allocations: 314.8 kB / 1.062 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.3664, allocations: 123.9 kB / 1.062 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.3667, allocations: 157 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002155/0.3669, allocations: 167.7 kB / 1.063 GB, free: 184 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3669, allocations: 0 / 1.063 GB, free: 184 kB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005533/0.3675, allocations: 388.5 kB / 1.063 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.922e-05/0.3675, allocations: 71.39 kB / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3675, allocations: 0 / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3676, allocations: 0 / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.079e-05/0.3676, allocations: 7.938 kB / 1.063 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.3676, allocations: 4 kB / 1.063 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004102/0.368, allocations: 93.77 kB / 1.063 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/0.3681, allocations: 15.98 kB / 1.063 GB, free: 15.58 MB / 0.8262 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 ($PRE.booPul[1].y,booPul[1].y,$whenCondition3,$whenCondition4,$PRE.booPul[2].y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001179/0.3682, allocations: 129.8 kB / 1.063 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.3682, allocations: 11.91 kB / 1.063 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.72e-05/0.3682, allocations: 7.906 kB / 1.063 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.3683, allocations: 4 kB / 1.063 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3683, allocations: 0 / 1.063 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3683, allocations: 0 / 1.063 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.3684, allocations: 197.5 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3684, allocations: 7.984 kB / 1.064 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.915e-06/0.3685, allocations: 0 / 1.064 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3685, allocations: 4 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.3685, allocations: 3.938 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3685, allocations: 0 / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3685, allocations: 0 / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.3687, allocations: 137.8 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.603e-05/0.3687, allocations: 89.11 kB / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.3687, allocations: 0 / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.01e-05/0.3688, allocations: 0 / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.3688, allocations: 11.92 kB / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.3688, allocations: 4 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.879e-05/0.3689, allocations: 99.27 kB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3689, allocations: 0 / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002514/0.3691, allocations: 43.83 kB / 1.064 GB, free: 14.74 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001419/0.3693, allocations: 111.2 kB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004201/0.3697, allocations: 318.6 kB / 1.064 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3697, allocations: 7.938 kB / 1.064 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.525e-05/0.3698, allocations: 35.91 kB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.37, allocations: 23.94 kB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000379/0.3704, allocations: 216.3 kB / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.3707, allocations: 0.7004 MB / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.509e-05/0.3707, allocations: 4 kB / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.064e-05/0.3707, allocations: 15.44 kB / 1.065 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of SimCode: time 5e-07/0.3707, allocations: 4 kB / 1.065 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of Templates: time 0.00472/0.3755, allocations: 2.112 MB / 1.067 GB, free: 11.15 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/jenkins/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