Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 100.4 kB / 19.72 MB, free: 2.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 211.5 kB / 23.01 MB, free: 4.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.281/1.281, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.78/2.78, allocations: 0.49 GB / 0.7958 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaRep.u.1.|reaRep.y.1|1.|reaRep.y.2|2.|reaRep.y.3|2.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaRep.u.1.|reaRep.y.1|1.|reaRep.y.2|2.|reaRep.y.3|2.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.626e-05/1.626e-05, allocations: 2.281 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001414/0.00143, allocations: 0.6591 MB / 1.156 GB, free: 24.84 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.000712/0.002142, allocations: 0.8213 MB / 1.156 GB, free: 24.23 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.558e-05/0.002188, allocations: 3.938 kB / 1.156 GB, free: 24.22 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 9.078e-05/0.002279, allocations: 4.938 kB / 1.156 GB, free: 24.22 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 8.644e-05/0.002365, allocations: 10.09 kB / 1.156 GB, free: 24.21 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 5.637e-05/0.002421, allocations: 10.59 kB / 1.156 GB, free: 24.21 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.002597, allocations: 80.02 kB / 1.157 GB, free: 24.18 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.964e-05/0.002687, allocations: 9.328 kB / 1.157 GB, free: 24.18 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.874e-05/0.002736, allocations: 19.62 kB / 1.157 GB, free: 24.17 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.691e-05/0.002793, allocations: 26.89 kB / 1.157 GB, free: 24.16 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.00281, allocations: 3.094 kB / 1.157 GB, free: 24.16 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 1.158e-05/0.002822, allocations: 2.656 kB / 1.157 GB, free: 24.16 MB / 0.9044 GB Notification: Performance of combineBinaries: time 6.537e-05/0.002887, allocations: 62.61 kB / 1.157 GB, free: 24.12 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.169e-05/0.002909, allocations: 39.69 kB / 1.157 GB, free: 24.09 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.126e-05/0.00292, allocations: 2.5 kB / 1.157 GB, free: 24.09 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.121e-05/0.002931, allocations: 4.656 kB / 1.157 GB, free: 24.09 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 (3) * Number of variables: 10 (3) Notification: Performance of [SIM] Bindings: time 0.0005708/0.003502, allocations: 358.5 kB / 1.157 GB, free: 23.73 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 6.175e-05/0.003564, allocations: 45.95 kB / 1.157 GB, free: 23.69 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 9.519e-05/0.003659, allocations: 129 kB / 1.157 GB, free: 23.59 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 5.234e-05/0.003711, allocations: 74.05 kB / 1.157 GB, free: 23.49 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0003062/0.004017, allocations: 157.1 kB / 1.157 GB, free: 23.33 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 4.484e-05/0.004062, allocations: 72.28 kB / 1.158 GB, free: 23.23 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 2.125e-05/0.004083, allocations: 44.83 kB / 1.158 GB, free: 23.17 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 5.843e-05/0.004142, allocations: 90.66 kB / 1.158 GB, free: 23.04 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 5.738e-05/0.004199, allocations: 33.25 kB / 1.158 GB, free: 23.03 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 7.849e-05/0.004278, allocations: 51.27 kB / 1.158 GB, free: 23 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001746/0.004452, allocations: 126.6 kB / 1.158 GB, free: 22.96 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 9.615e-05/0.004548, allocations: 128 kB / 1.158 GB, free: 22.91 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0001074/0.004656, allocations: 128.5 kB / 1.158 GB, free: 22.75 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0001219/0.004778, allocations: 181.5 kB / 1.158 GB, free: 22.66 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 7.274e-06/0.004785, allocations: 13.19 kB / 1.158 GB, free: 22.64 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 2.055e-05/0.004806, allocations: 22.34 kB / 1.158 GB, free: 22.63 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0001897/0.004995, allocations: 140.4 kB / 1.158 GB, free: 22.59 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 9.548e-06/0.005005, allocations: 9.188 kB / 1.158 GB, free: 22.58 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.11e-07/0.005005, allocations: 0 / 1.158 GB, free: 22.58 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.386e-06/0.005009, allocations: 4.75 kB / 1.158 GB, free: 22.57 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.563e-06/0.00501, allocations: 2 kB / 1.158 GB, free: 22.57 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.06e-06/0.005015, allocations: 3.625 kB / 1.158 GB, free: 22.57 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 5.103e-05/0.005066, allocations: 24.75 kB / 1.158 GB, free: 22.57 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 7.284e-06/0.005074, allocations: 0.5938 kB / 1.158 GB, free: 22.57 MB / 0.9044 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (2) {$SEV_1, $SEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 0 (scalar:0, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (resizable: 4, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 0 (scalar:0, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (resizable: 4, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.966e-05/0.005103, allocations: 28.58 kB / 1.158 GB, free: 22.54 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005475/0.005651, allocations: 410.4 kB / 1.159 GB, free: 22.3 MB / 0.9044 GB Notification: Performance of Templates: time 0.002769/0.00842, allocations: 0.7391 MB / 1.16 GB, free: 22.19 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Warning: Resultfile and Reference have different end time points! Reffile[313]=2.990000 File[2502]=1.000000 Error: Could not read variable reaRep.y[1 in file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_res.mat. Warning: Get data of variable reaRep.y[1 from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_res.mat failed! Error: Could not read variable 1] in file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_res.mat. Warning: Get data of variable 1] from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_res.mat failed! Error: Could not read variable reaRep.y[2 in file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_res.mat. Warning: Get data of variable reaRep.y[2 from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_res.mat failed! Error: Could not read variable 2] in file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_res.mat. Warning: Get data of variable 2] from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_res.mat failed! Error: Could not read variable reaRep.y[3 in file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_res.mat. Warning: Get data of variable reaRep.y[3 from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_res.mat failed! Error: Could not read variable 2] in file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_res.mat. Warning: Get data of variable 2] from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_res.mat failed! " [Timeout remaining time 300] "" Variables in the reference:time,reaRep.u[1],reaRep.y[1,1],reaRep.y[2,2],reaRep.y[3,2] Variables in the result:ram[1].duration,ram[1].height,ram[1].offset,ram[1].startTime,ram[1].y,ram[2].duration,ram[2].height,ram[2].offset,ram[2].startTime,reaRep.nin,reaRep.nout,reaRep.u[1],time [Calling sys.exit(0), Time elapsed: 7.2336833397857845]