Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005602/0.005602, allocations: 98.73 kB / 15.73 MB, free: 6.012 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.001248/0.001248, allocations: 196.5 kB / 16.67 MB, free: 5.93 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.626/2.626, allocations: 469.8 MB / 0.7425 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 71.83 kB / 1.065 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9784/0.9798, allocations: 159.1 MB / 1.221 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002/0.9818, allocations: 0.6601 MB / 1.221 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.9829, allocations: 0.8428 MB / 1.222 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.889e-05/0.9829, allocations: 0 / 1.222 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.983, allocations: 7.938 kB / 1.222 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.9831, allocations: 3.984 kB / 1.222 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001176/0.9832, allocations: 19.92 kB / 1.222 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.9834, allocations: 71.88 kB / 1.222 GB, free: 0.6211 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.9835, allocations: 31.97 kB / 1.222 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.652e-05/0.9836, allocations: 43.78 kB / 1.222 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.9837, allocations: 39.89 kB / 1.222 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.9837, allocations: 4 kB / 1.222 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.394e-05/0.9838, allocations: 4 kB / 1.222 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.733e-05/0.9838, allocations: 31.91 kB / 1.222 GB, free: 480 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.412e-05/0.9839, allocations: 35.8 kB / 1.222 GB, free: 444 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.984, allocations: 87.41 kB / 1.222 GB, free: 360 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.984, allocations: 3.984 kB / 1.222 GB, free: 356 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.172e-06/0.984, allocations: 4 kB / 1.222 GB, free: 352 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.984, allocations: 0 / 1.222 GB, free: 352 kB / 0.9356 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.0006359/0.9847, allocations: 404.3 kB / 1.223 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.9847, allocations: 8.031 kB / 1.223 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.9847, allocations: 12.83 kB / 1.223 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.9849, allocations: 192.2 kB / 1.223 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.9849, allocations: 8.375 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.985, allocations: 4.375 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003686/0.9853, allocations: 163.8 kB / 1.223 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.9853, allocations: 192 / 1.223 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.9854, allocations: 7.938 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.9854, allocations: 4 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004261/0.9858, allocations: 155.8 kB / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005642/0.9864, allocations: 444.7 kB / 1.224 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000303/0.9867, allocations: 117.1 kB / 1.224 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.9869, allocations: 81.69 kB / 1.224 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.9869, allocations: 0 / 1.224 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.9869, allocations: 30.56 kB / 1.224 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.9869, allocations: 0 / 1.224 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0006997/0.9876, allocations: 233.3 kB / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.9877, allocations: 77.11 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.9878, allocations: 125.8 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.9878, allocations: 29.95 kB / 1.224 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.838e-05/0.9878, allocations: 104 kB / 1.225 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.9879, allocations: 7.953 kB / 1.225 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.976e-05/0.9879, allocations: 21.7 kB / 1.225 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.9881, allocations: 322.8 kB / 1.225 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.9882, allocations: 59.92 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/0.9885, allocations: 77.64 kB / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/0.9889, allocations: 133.5 kB / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.9889, allocations: 384 / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004175/0.9893, allocations: 165.4 kB / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.9893, allocations: 8 kB / 1.225 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.9893, allocations: 0 / 1.225 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.9893, allocations: 3.938 kB / 1.225 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.9895, allocations: 27.95 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.9895, allocations: 3.938 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.9896, allocations: 19.98 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.9896, allocations: 3.984 kB / 1.225 GB, free: 13.09 MB / 0.9512 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.0001078/0.9897, allocations: 126.4 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.428e-05/0.9898, allocations: 8 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.394e-05/0.9898, allocations: 7.531 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.9898, allocations: 4 kB / 1.226 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.9898, allocations: 3.938 kB / 1.226 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.9898, allocations: 0 / 1.226 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.9901, allocations: 205.7 kB / 1.226 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.9901, allocations: 0 / 1.226 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.9902, allocations: 27.89 kB / 1.226 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.9902, allocations: 4 kB / 1.226 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.9903, allocations: 0 / 1.226 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.9903, allocations: 0 / 1.226 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.9903, allocations: 3.938 kB / 1.226 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005116/0.9908, allocations: 330.8 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.167e-05/0.9908, allocations: 89.09 kB / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.9908, allocations: 0 / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.991, allocations: 19.97 kB / 1.226 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.414e-05/0.9911, allocations: 31.91 kB / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-06/0.9911, allocations: 7.938 kB / 1.226 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.307e-05/0.9912, allocations: 99.2 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9912, allocations: 0 / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002672/0.9914, allocations: 12 kB / 1.226 GB, free: 12.02 MB / 0.9512 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.0001527/0.9916, allocations: 107.2 kB / 1.226 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004546/0.992, allocations: 139.8 kB / 1.227 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.992, allocations: 0 / 1.227 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.9923, allocations: 87.83 kB / 1.227 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.9926, allocations: 8.281 kB / 1.227 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004749/0.9931, allocations: 210.3 kB / 1.227 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.9934, allocations: 0.704 MB / 1.228 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.45e-05/0.9934, allocations: 19.89 kB / 1.228 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.554e-05/0.9935, allocations: 15.44 kB / 1.228 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of SimCode: time 4.71e-07/0.9935, allocations: 0 / 1.228 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of Templates: time 0.003535/0.997, allocations: 1.275 MB / 1.229 GB, free: 9.418 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches