Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.007684/0.007684, allocations: 99.22 kB / 15.73 MB, free: 6.051 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.001481/0.001481, allocations: 197.9 kB / 16.67 MB, free: 5.973 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.533/1.533, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.802/2.802, allocations: 437 MB / 0.7105 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001263, allocations: 71.89 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3742, allocations: 151.6 MB / 1.167 GB, free: 6.816 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.00199/0.3762, allocations: 0.6581 MB / 1.167 GB, free: 6.152 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.3773, allocations: 0.8394 MB / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.418e-05/0.3773, allocations: 0 / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.3775, allocations: 7.922 kB / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.3776, allocations: 15.81 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001246/0.3777, allocations: 23.97 kB / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.3779, allocations: 75.81 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.378, allocations: 31.98 kB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.479e-05/0.3781, allocations: 31.92 kB / 1.168 GB, free: 5.117 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.3782, allocations: 43.83 kB / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.3783, allocations: 4 kB / 1.168 GB, free: 5.07 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.735e-05/0.3783, allocations: 4 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.481e-05/0.3784, allocations: 31.91 kB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.517e-05/0.3784, allocations: 31.84 kB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.3786, allocations: 99.55 kB / 1.168 GB, free: 4.906 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3786, allocations: 0 / 1.168 GB, free: 4.906 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3786, allocations: 0 / 1.168 GB, free: 4.906 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.3786, allocations: 0 / 1.168 GB, free: 4.906 MB / 0.92 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.0006673/0.3793, allocations: 407.1 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.3793, allocations: 8.031 kB / 1.169 GB, free: 4.449 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.3794, allocations: 12.88 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.3796, allocations: 192.2 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.3796, allocations: 4.375 kB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.3796, allocations: 12.31 kB / 1.169 GB, free: 4.195 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003606/0.38, allocations: 159.8 kB / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.38, allocations: 192 / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.3801, allocations: 7.938 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.3801, allocations: 4 kB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004164/0.3805, allocations: 147.8 kB / 1.169 GB, free: 3.871 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006196/0.3811, allocations: 448.8 kB / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.3814, allocations: 113.1 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/0.3817, allocations: 81.69 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.3817, allocations: 3.938 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.3817, allocations: 34.56 kB / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.113e-06/0.3817, allocations: 7.938 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0007054/0.3824, allocations: 225.4 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.3825, allocations: 81.05 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.3826, allocations: 133.7 kB / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.3826, allocations: 25.7 kB / 1.17 GB, free: 2.613 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.591e-05/0.3827, allocations: 92.09 kB / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.3827, allocations: 20.14 kB / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.437e-05/0.3828, allocations: 21.72 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.3829, allocations: 314.8 kB / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.3831, allocations: 63.92 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.3833, allocations: 81.62 kB / 1.171 GB, free: 2.008 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003535/0.3837, allocations: 121.6 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.3837, allocations: 4 kB / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004314/0.3841, allocations: 169.4 kB / 1.171 GB, free: 1.707 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.3841, allocations: 7.984 kB / 1.171 GB, free: 1.699 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3842, allocations: 0 / 1.171 GB, free: 1.699 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.3842, allocations: 0 / 1.171 GB, free: 1.699 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.3843, allocations: 31.91 kB / 1.171 GB, free: 1.668 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.3844, allocations: 3.938 kB / 1.171 GB, free: 1.664 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.951e-05/0.3845, allocations: 19.91 kB / 1.171 GB, free: 1.645 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.3845, allocations: 8.062 kB / 1.171 GB, free: 1.637 MB / 0.92 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.000165/0.3847, allocations: 127.8 kB / 1.172 GB, free: 1.504 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.044e-05/0.3847, allocations: 0 / 1.172 GB, free: 1.504 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.976e-05/0.3847, allocations: 11.53 kB / 1.172 GB, free: 1.488 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.3847, allocations: 0 / 1.172 GB, free: 1.488 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3848, allocations: 3.938 kB / 1.172 GB, free: 1.484 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.3848, allocations: 0 / 1.172 GB, free: 1.484 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002457/0.385, allocations: 197.6 kB / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.385, allocations: 0 / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.3852, allocations: 31.97 kB / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3852, allocations: 0 / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.3852, allocations: 0 / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3852, allocations: 0 / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.3852, allocations: 7.938 kB / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004869/0.3857, allocations: 334.6 kB / 1.172 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.366e-05/0.3857, allocations: 89.14 kB / 1.172 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.3858, allocations: 7.984 kB / 1.172 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.3859, allocations: 15.97 kB / 1.172 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.901e-05/0.386, allocations: 23.91 kB / 1.172 GB, free: 0.707 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.386, allocations: 4.375 kB / 1.172 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.372e-05/0.3861, allocations: 95.2 kB / 1.172 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3861, allocations: 4 kB / 1.172 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002662/0.3864, allocations: 16 kB / 1.172 GB, free: 0.5898 MB / 0.92 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.0001262/0.3865, allocations: 103.2 kB / 1.172 GB, free: 492 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004613/0.387, allocations: 139.8 kB / 1.173 GB, free: 352 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.387, allocations: 4.125 kB / 1.173 GB, free: 348 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002286/0.3872, allocations: 87.89 kB / 1.173 GB, free: 260 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.3876, allocations: 8 kB / 1.173 GB, free: 252 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004363/0.388, allocations: 194.1 kB / 1.173 GB, free: 28 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.3884, allocations: 0.7115 MB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.279e-05/0.3885, allocations: 15.98 kB / 1.174 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.686e-05/0.3885, allocations: 15.42 kB / 1.174 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/0.3885, allocations: 7.938 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of Templates: time 0.003697/0.3922, allocations: 1.269 MB / 1.175 GB, free: 13.99 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches