Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.008728/0.008728, allocations: 96.67 kB / 15.73 MB, free: 5.988 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.001459/0.001459, allocations: 187.8 kB / 16.67 MB, free: 5.918 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.557/2.557, allocations: 390.2 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 59.31 kB / 0.9508 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3574, allocations: 140.4 MB / 1.088 GB, free: 1.555 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001997/0.3594, allocations: 0.6694 MB / 1.089 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.3605, allocations: 0.8277 MB / 1.089 GB, free: 44 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.75e-05/0.3606, allocations: 3.938 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.3607, allocations: 3.938 kB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.3608, allocations: 19.97 kB / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001218/0.3609, allocations: 15.92 kB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.3611, allocations: 75.81 kB / 1.09 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.3613, allocations: 31.98 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.38e-05/0.3614, allocations: 35.84 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.681e-05/0.3615, allocations: 35.91 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.3615, allocations: 8 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.558e-05/0.3615, allocations: 8 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.536e-05/0.3616, allocations: 31.89 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.366e-05/0.3617, allocations: 35.8 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.3618, allocations: 83.69 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3618, allocations: 0 / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.626e-06/0.3618, allocations: 4 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.3618, allocations: 0 / 1.09 GB, free: 15.66 MB / 0.8575 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.0006958/0.3625, allocations: 403.1 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.3626, allocations: 16.03 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.3626, allocations: 4.891 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.3629, allocations: 200.2 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/0.3629, allocations: 4.375 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.363, allocations: 8.375 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003842/0.3633, allocations: 149.3 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3634, allocations: 192 / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.3634, allocations: 15.94 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3634, allocations: 0 / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004497/0.3639, allocations: 151.8 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005916/0.3645, allocations: 456.7 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.3648, allocations: 113.1 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.365, allocations: 77.62 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.365, allocations: 8 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.662e-05/0.3651, allocations: 38.56 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.3651, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0007569/0.3659, allocations: 229.6 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.3659, allocations: 77.11 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.3661, allocations: 129.7 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.3661, allocations: 25.7 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.568e-05/0.3662, allocations: 104 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.3662, allocations: 7.953 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/0.3662, allocations: 21.7 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.3664, allocations: 318.9 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.3666, allocations: 67.91 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.3668, allocations: 73.64 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003891/0.3672, allocations: 137.5 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3672, allocations: 0 / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004456/0.3676, allocations: 161.4 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.3677, allocations: 4 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3677, allocations: 8.062 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3677, allocations: 0 / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.3679, allocations: 20.06 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.3679, allocations: 11.92 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.368, allocations: 11.98 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.3681, allocations: 3.984 kB / 1.093 GB, free: 12.4 MB / 0.8575 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.00011/0.3682, allocations: 129.8 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.492e-05/0.3682, allocations: 11.95 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.394e-05/0.3683, allocations: 7.531 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3683, allocations: 4 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.3683, allocations: 3.938 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3683, allocations: 0 / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.3686, allocations: 197.6 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3686, allocations: 0 / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.3687, allocations: 19.97 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.3687, allocations: 0 / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.3687, allocations: 11.92 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3688, allocations: 4 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.3688, allocations: 3.938 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005548/0.3693, allocations: 336 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.927e-05/0.3694, allocations: 89.42 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.3694, allocations: 0 / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.3696, allocations: 15.97 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.486e-05/0.3697, allocations: 27.91 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.3697, allocations: 3.938 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.776e-05/0.3698, allocations: 99.27 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.074e-06/0.3698, allocations: 0 / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002701/0.3701, allocations: 19.89 kB / 1.094 GB, free: 11.34 MB / 0.8575 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.0001839/0.3703, allocations: 103.2 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005103/0.3708, allocations: 135.8 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3708, allocations: 0 / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002637/0.3711, allocations: 92.03 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.3715, allocations: 17.55 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005674/0.372, allocations: 186.5 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004178/0.3725, allocations: 0.708 MB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.628e-05/0.3725, allocations: 24.3 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.324e-05/0.3726, allocations: 11.44 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of SimCode: time 4.91e-07/0.3726, allocations: 0 / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of Templates: time 0.004099/0.3767, allocations: 1.272 MB / 1.096 GB, free: 8.746 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches