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.001388/0.001388, allocations: 107.8 kB / 19.71 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.001503/0.001503, allocations: 216.1 kB / 23 MB, free: 4.969 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.554/1.554, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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 3.317/3.317, allocations: 0.49 GB / 0.7959 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] 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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 66.09 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.4013, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002663/0.404, allocations: 0.6743 MB / 1.328 GB, free: 356 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.4054, allocations: 0.8552 MB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.374e-05/0.4055, allocations: 4 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.4056, allocations: 11.92 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.4057, allocations: 3.938 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/0.4059, allocations: 23.91 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.4061, allocations: 75.83 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.4062, allocations: 19.97 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.43e-05/0.4063, allocations: 39.86 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.4065, allocations: 43.88 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.4065, allocations: 4 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.866e-05/0.4065, allocations: 4 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.74e-05/0.4066, allocations: 31.86 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.088e-05/0.4066, allocations: 27.86 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.4068, allocations: 91.67 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4068, allocations: 0 / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.973e-06/0.4068, allocations: 0 / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.4068, allocations: 4 kB / 1.329 GB, free: 15.1 MB / 1.029 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.0007945/0.4076, allocations: 318.1 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.4077, allocations: 8.031 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/0.4077, allocations: 8.891 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.408, allocations: 146.3 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.875e-05/0.408, allocations: 12.38 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.4081, allocations: 4.375 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004542/0.4085, allocations: 159.8 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.4085, allocations: 192 / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.4085, allocations: 3.938 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.4086, allocations: 3.984 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004772/0.409, allocations: 155.8 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006857/0.4097, allocations: 380.4 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003221/0.41, allocations: 113.1 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/0.4103, allocations: 77.7 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.4103, allocations: 0 / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.4103, allocations: 42.48 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.4103, allocations: 0 / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.000798/0.4111, allocations: 221.4 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.367e-05/0.4112, allocations: 85.09 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.4113, allocations: 125.7 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.4113, allocations: 29.7 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.362e-05/0.4114, allocations: 100 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.4115, allocations: 8.156 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.716e-05/0.4115, allocations: 29.7 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.4117, allocations: 322.8 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.4119, allocations: 63.91 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.4121, allocations: 73.64 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004092/0.4126, allocations: 137.5 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4126, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000462/0.413, allocations: 153.5 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.413, allocations: 8 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.413, allocations: 0 / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.4131, allocations: 4.062 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.4133, allocations: 28 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/0.4133, allocations: 4 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.4134, allocations: 15.97 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.4134, allocations: 11.92 kB / 1.332 GB, free: 12.09 MB / 1.029 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.0001286/0.4136, allocations: 122.4 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.84e-05/0.4136, allocations: 11.94 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.222e-05/0.4137, allocations: 11.62 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.4137, allocations: 4 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4137, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.296e-05/0.4137, allocations: 15.89 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.4137, allocations: 3.938 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.4139, allocations: 15.97 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.724e-05/0.414, allocations: 19.97 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006237/0.4146, allocations: 340 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006099/0.4152, allocations: 409.9 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002538/0.4155, allocations: 91.77 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.01e-05/0.4155, allocations: 95.7 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of Backend: time 5.11e-07/0.4155, allocations: 4 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000643/0.4162, allocations: 145.9 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of SimCode: time 0.000735/0.4169, allocations: 0.6196 MB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of Templates: time 0.004966/0.4219, allocations: 1.622 MB / 1.335 GB, free: 8.512 MB / 1.029 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/jenkins1/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[2514]=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: 9.579701041999215]