Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.IntegerVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.1..y|reaToInt.1..y|intRep.y.1|1.|intRep.y.2|2.|intRep.y.3|2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.1..y|reaToInt.1..y|intRep.y.1|1.|intRep.y.2|2.|intRep.y.3|2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 108 kB / 15.6 MB, free: 132 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.001745/0.001745, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.523/1.523, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.012/3.012, allocations: 472.7 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 65.89 kB / 0.9121 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3613, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.0024/0.3637, allocations: 0.6613 MB / 1.069 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.3648, allocations: 0.8451 MB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.3649, allocations: 0 / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.3651, allocations: 3.938 kB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.3652, allocations: 11.92 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001319/0.3653, allocations: 19.92 kB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.3655, allocations: 71.83 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.3656, allocations: 31.98 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.115e-05/0.3657, allocations: 35.91 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.3658, allocations: 47.81 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.3659, allocations: 4 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.184e-05/0.3659, allocations: 11.94 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.571e-05/0.366, allocations: 23.98 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.506e-05/0.366, allocations: 31.8 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.3662, allocations: 87.73 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3662, allocations: 0 / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3662, allocations: 0 / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.3662, allocations: 0 / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007402/0.367, allocations: 407.5 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.367, allocations: 8.031 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.05e-05/0.3671, allocations: 12.84 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.3673, allocations: 184.3 kB / 1.071 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/0.3673, allocations: 4.375 kB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.3674, allocations: 12.31 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004167/0.3678, allocations: 159.8 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.3678, allocations: 4.125 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.3678, allocations: 7.938 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.3678, allocations: 8 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004636/0.3683, allocations: 147.8 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006773/0.369, allocations: 448.7 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.3693, allocations: 117 kB / 1.072 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.3695, allocations: 77.7 kB / 1.072 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.3696, allocations: 0 / 1.072 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.3696, allocations: 38.56 kB / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.3696, allocations: 0 / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0007853/0.3704, allocations: 229.4 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.3705, allocations: 81.11 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.3706, allocations: 129.7 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.3706, allocations: 25.7 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.915e-05/0.3707, allocations: 96.03 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.3707, allocations: 11.81 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.321e-05/0.3708, allocations: 25.88 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.3709, allocations: 318.8 kB / 1.073 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.3711, allocations: 59.92 kB / 1.073 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.3713, allocations: 89.56 kB / 1.073 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003649/0.3717, allocations: 125.6 kB / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3717, allocations: 0 / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004382/0.3722, allocations: 169.5 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3722, allocations: 4 kB / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3722, allocations: 0 / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.3722, allocations: 4 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.3724, allocations: 19.97 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.3724, allocations: 3.938 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.3725, allocations: 23.91 kB / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.3725, allocations: 0 / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001007/0.3726, allocations: 140 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.594e-05/0.3727, allocations: 3.906 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.275e-05/0.3727, allocations: 15.52 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3727, allocations: 0 / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3728, allocations: 7.875 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3728, allocations: 4 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.373, allocations: 193.8 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.373, allocations: 0 / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.3731, allocations: 31.97 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.3732, allocations: 0 / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.3732, allocations: 0 / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3732, allocations: 4 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3732, allocations: 7.922 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004789/0.3737, allocations: 334.5 kB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.4e-05/0.3737, allocations: 81.11 kB / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.3737, allocations: 7.984 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.3739, allocations: 11.98 kB / 1.074 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.12e-05/0.374, allocations: 23.91 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.374, allocations: 7.984 kB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.429e-05/0.3741, allocations: 95.27 kB / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3741, allocations: 4 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002772/0.3744, allocations: 15.91 kB / 1.074 GB, free: 4.168 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: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001322/0.3745, allocations: 99.78 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004547/0.375, allocations: 139.8 kB / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.375, allocations: 4.125 kB / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002302/0.3752, allocations: 91.83 kB / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.3755, allocations: 8 kB / 1.074 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004897/0.376, allocations: 214 kB / 1.074 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.3763, allocations: 0.7002 MB / 1.075 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.85e-05/0.3764, allocations: 15.98 kB / 1.075 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.661e-05/0.3764, allocations: 19.42 kB / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.3764, allocations: 0 / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of Templates: time 0.003831/0.3803, allocations: 1.269 MB / 1.076 GB, free: 1.566 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches