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.001646/0.001646, allocations: 97.11 kB / 19.71 MB, free: 2.109 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.002007/0.002007, allocations: 215.8 kB / 23.01 MB, free: 4.918 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.58/1.58, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.302/3.302, allocations: 0.49 GB / 0.7959 GB, free: 35.49 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.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: 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.002968/0.002968, allocations: 66.33 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4207/0.4237, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001953/0.4256, allocations: 0.6603 MB / 1.328 GB, free: 332 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.4267, allocations: 0.8203 MB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.914e-05/0.4268, allocations: 4 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.502e-05/0.4269, allocations: 7.922 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.427, allocations: 7.938 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 7.074e-05/0.427, allocations: 11.98 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.4272, allocations: 55.89 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.4273, allocations: 11.98 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.188e-05/0.4274, allocations: 27.92 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.348e-05/0.4275, allocations: 35.77 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.4275, allocations: 8 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.273e-05/0.4275, allocations: 4 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.698e-05/0.4276, allocations: 23.97 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.289e-05/0.4276, allocations: 19.88 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.4277, allocations: 67.78 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.4277, allocations: 3.938 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.943e-06/0.4277, allocations: 0 / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.4278, allocations: 0 / 1.329 GB, free: 15.21 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006253/0.4284, allocations: 314.1 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.4284, allocations: 12.03 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.4285, allocations: 12.89 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.4287, allocations: 130.4 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.4287, allocations: 4.375 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.4287, allocations: 4.375 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003642/0.4291, allocations: 131.9 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.4291, allocations: 192 / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.4291, allocations: 3.938 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.4291, allocations: 3.938 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003921/0.4295, allocations: 131.8 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006528/0.4301, allocations: 372.5 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.4304, allocations: 89.14 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/0.4306, allocations: 65.7 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.4306, allocations: 0 / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.4306, allocations: 38.5 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.4306, allocations: 0 / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.00067/0.4313, allocations: 193.6 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.4313, allocations: 81.11 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.4315, allocations: 118.1 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.4315, allocations: 25.7 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/0.4315, allocations: 96.08 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.4316, allocations: 8.047 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.4316, allocations: 17.66 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.4318, allocations: 318.8 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.4319, allocations: 56 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.4321, allocations: 65.64 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/0.4325, allocations: 105.5 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4325, allocations: 4.062 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003884/0.4329, allocations: 133.6 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.4329, allocations: 4 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.4329, allocations: 4 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.4329, allocations: 0 / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.433, allocations: 19.97 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.4331, allocations: 8 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.109e-05/0.4331, allocations: 19.91 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-06/0.4332, allocations: 0 / 1.331 GB, free: 12.46 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001052/0.4333, allocations: 126.3 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.4333, allocations: 7.953 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.101e-05/0.4333, allocations: 15.47 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.4333, allocations: 0 / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4333, allocations: 0 / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.428e-06/0.4334, allocations: 3.984 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.4334, allocations: 15.88 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.4335, allocations: 11.98 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/0.4336, allocations: 11.98 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005133/0.4341, allocations: 300 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005008/0.4346, allocations: 389.9 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002118/0.4348, allocations: 67.84 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.763e-05/0.4349, allocations: 95.27 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of Backend: time 2.81e-07/0.4349, allocations: 0 / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006091/0.4355, allocations: 130.4 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006517/0.4361, allocations: 0.6001 MB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of Templates: time 0.003916/0.4401, allocations: 1.145 MB / 1.334 GB, free: 9.477 MB / 1.029 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/jenkins1/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[2].duration,ram[2].height,ram[2].offset,ram[2].startTime,reaRep.nin,reaRep.nout,reaRep.u[1],reaRep.y[3,1],time [Calling sys.exit(0), Time elapsed: 9.52491139400081]