Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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.001152/0.001152, allocations: 104.3 kB / 19.72 MB, free: 2.145 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.001239/0.001239, allocations: 211.3 kB / 23 MB, free: 4.965 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.275/1.275, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.823/2.823, allocations: 0.49 GB / 0.7958 GB, free: 35.37 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.IntegerVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.1..y|reaToInt.1..y|intRep.y.1|1.|intRep.y.2|2.|intRep.y.3|2.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.1..y|reaToInt.1..y|intRep.y.1|1.|intRep.y.2|2.|intRep.y.3|2.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.352e-05/1.352e-05, allocations: 2.281 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001294/0.001307, allocations: 0.6699 MB / 1.156 GB, free: 24.8 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0007166/0.002024, allocations: 0.8538 MB / 1.156 GB, free: 24.16 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.964e-05/0.002074, allocations: 3.938 kB / 1.156 GB, free: 24.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 8.252e-05/0.002156, allocations: 7.156 kB / 1.156 GB, free: 24.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 8.24e-05/0.002239, allocations: 14.59 kB / 1.157 GB, free: 24.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 9.972e-05/0.002338, allocations: 22.38 kB / 1.157 GB, free: 24.14 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.002504, allocations: 98.61 kB / 1.157 GB, free: 24.1 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.374e-05/0.002588, allocations: 10.28 kB / 1.157 GB, free: 24.1 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.625e-05/0.002634, allocations: 28.55 kB / 1.157 GB, free: 24.09 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.064e-05/0.002695, allocations: 29.89 kB / 1.157 GB, free: 24.07 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.002715, allocations: 4.594 kB / 1.157 GB, free: 24.07 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 1.341e-05/0.002728, allocations: 2.969 kB / 1.157 GB, free: 24.07 MB / 0.9044 GB Notification: Performance of combineBinaries: time 8.062e-05/0.002809, allocations: 80.86 kB / 1.157 GB, free: 24.02 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.922e-05/0.002838, allocations: 51.81 kB / 1.157 GB, free: 23.99 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.091e-05/0.002849, allocations: 2.688 kB / 1.157 GB, free: 23.99 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.14e-05/0.00286, allocations: 5.281 kB / 1.157 GB, free: 23.99 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: 14 (5) * Number of variables: 14 (5) Notification: Performance of [SIM] Bindings: time 0.0005327/0.003393, allocations: 418.1 kB / 1.157 GB, free: 23.59 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001201/0.003513, allocations: 80.17 kB / 1.157 GB, free: 23.54 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.000138/0.003651, allocations: 197.5 kB / 1.157 GB, free: 23.41 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 6.366e-05/0.003715, allocations: 89.81 kB / 1.158 GB, free: 23.3 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0003332/0.004048, allocations: 230.2 kB / 1.158 GB, free: 23.11 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 5.531e-05/0.004103, allocations: 87.66 kB / 1.158 GB, free: 23 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 2.5e-05/0.004128, allocations: 47.53 kB / 1.158 GB, free: 22.94 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 6.392e-05/0.004192, allocations: 108.6 kB / 1.158 GB, free: 22.8 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 6.025e-05/0.004252, allocations: 39.97 kB / 1.158 GB, free: 22.79 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 9.985e-05/0.004352, allocations: 89.86 kB / 1.158 GB, free: 22.75 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0003043/0.004657, allocations: 246.9 kB / 1.158 GB, free: 22.68 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001744/0.004831, allocations: 236.2 kB / 1.159 GB, free: 22.58 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0001266/0.004957, allocations: 145.7 kB / 1.159 GB, free: 22.42 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0002165/0.005174, allocations: 313.3 kB / 1.159 GB, free: 22.27 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.053e-05/0.005185, allocations: 10.47 kB / 1.159 GB, free: 22.26 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 3.848e-05/0.005223, allocations: 40.83 kB / 1.159 GB, free: 22.24 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0003386/0.005562, allocations: 287.5 kB / 1.159 GB, free: 22.15 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 9.247e-06/0.005571, allocations: 10.28 kB / 1.159 GB, free: 22.14 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.51e-07/0.005571, allocations: 0 / 1.159 GB, free: 22.14 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.196e-06/0.005574, allocations: 1.156 kB / 1.159 GB, free: 22.14 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 3.076e-06/0.005577, allocations: 9.031 kB / 1.159 GB, free: 22.14 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.36e-06/0.005583, allocations: 1.266 kB / 1.159 GB, free: 22.14 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 7.13e-05/0.005654, allocations: 29.17 kB / 1.159 GB, free: 22.13 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 6.222e-06/0.00566, allocations: 4 kB / 1.159 GB, free: 22.13 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: ................. 14 (5) {intRep.y, reaToInt.y, $SEV_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: ......... 8 (resizable: 8, 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: ......... 8 (resizable: 8, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.784e-05/0.005688, allocations: 23.61 kB / 1.159 GB, free: 22.11 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006375/0.006326, allocations: 0.5511 MB / 1.16 GB, free: 21.81 MB / 0.9044 GB Notification: Performance of Templates: time 0.003128/0.009453, allocations: 1.043 MB / 1.161 GB, free: 21.66 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Warning: Resultfile and Reference have different end time points! Reffile[342]=3.000000 File[2504]=1.000000 Error: Could not read variable intRep.y[1 in file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat. Warning: Get data of variable intRep.y[1 from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat failed! Error: Could not read variable 1] in file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat. Warning: Get data of variable 1] from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat failed! Error: Could not read variable intRep.y[2 in file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat. Warning: Get data of variable intRep.y[2 from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat failed! Error: Could not read variable 2] in file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat. Warning: Get data of variable 2] from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat failed! Error: Could not read variable intRep.y[3 in file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat. Warning: Get data of variable intRep.y[3 from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat failed! Error: Could not read variable 2] in file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat. Warning: Get data of variable 2] from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.223572113085538]