Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001328/0.001328, allocations: 77.7 kB / 19.76 MB, free: 2.031 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.001436/0.001436, allocations: 158.5 kB / 23.01 MB, free: 4.945 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.486/1.486, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.984/2.984, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002404/0.002404, allocations: 67.84 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075/1.078, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001933/1.08, allocations: 0.6702 MB / 1.187 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0009595/1.081, allocations: 0.8554 MB / 1.188 GB, free: 15.13 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.081e-05/1.081, allocations: 5.375 kB / 1.188 GB, free: 15.13 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 9.917e-05/1.081, allocations: 5.438 kB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/1.081, allocations: 11.98 kB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001321/1.081, allocations: 21.66 kB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001381/1.081, allocations: 66.56 kB / 1.188 GB, free: 15.08 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/1.081, allocations: 20.84 kB / 1.188 GB, free: 15.07 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.505e-05/1.081, allocations: 38.53 kB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/1.081, allocations: 48.88 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/1.081, allocations: 5.25 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.86e-05/1.082, allocations: 5.438 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.906e-05/1.082, allocations: 36.25 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.607e-05/1.082, allocations: 27.53 kB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001858/1.082, allocations: 89.7 kB / 1.188 GB, free: 14.97 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/1.082, allocations: 1.094 kB / 1.188 GB, free: 14.97 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.523e-06/1.082, allocations: 0 / 1.188 GB, free: 14.97 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.785e-06/1.082, allocations: 0.6094 kB / 1.188 GB, free: 14.97 MB / 1.076 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.0006222/1.082, allocations: 330.9 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/1.082, allocations: 10.19 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.336e-05/1.083, allocations: 8.766 kB / 1.189 GB, free: 14.67 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/1.083, allocations: 143 kB / 1.189 GB, free: 14.53 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/1.083, allocations: 3.594 kB / 1.189 GB, free: 14.53 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/1.083, allocations: 9.266 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004138/1.083, allocations: 152.7 kB / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/1.083, allocations: 1.562 kB / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/1.083, allocations: 11.92 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/1.083, allocations: 2.203 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004839/1.084, allocations: 155.8 kB / 1.189 GB, free: 14.42 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005093/1.084, allocations: 376.6 kB / 1.19 GB, free: 14.1 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/1.085, allocations: 110.9 kB / 1.19 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/1.085, allocations: 77.55 kB / 1.19 GB, free: 14.01 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/1.085, allocations: 5.281 kB / 1.19 GB, free: 14.01 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/1.085, allocations: 33.8 kB / 1.19 GB, free: 13.97 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/1.085, allocations: 0 / 1.19 GB, free: 13.97 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0008014/1.086, allocations: 230.1 kB / 1.19 GB, free: 13.9 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/1.086, allocations: 83.91 kB / 1.19 GB, free: 13.8 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.634e-05/1.086, allocations: 125.8 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/1.086, allocations: 25.7 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.481e-05/1.086, allocations: 102.9 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/1.086, allocations: 13.52 kB / 1.19 GB, free: 13.55 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-05/1.086, allocations: 24.56 kB / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.668e-05/1.086, allocations: 319 kB / 1.191 GB, free: 13.22 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/1.086, allocations: 63.19 kB / 1.191 GB, free: 13.21 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/1.086, allocations: 79.05 kB / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004219/1.087, allocations: 131 kB / 1.191 GB, free: 13.15 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.087, allocations: 0 / 1.191 GB, free: 13.15 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004818/1.087, allocations: 163.7 kB / 1.191 GB, free: 13.09 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/1.087, allocations: 5.984 kB / 1.191 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/1.087, allocations: 5.312 kB / 1.191 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/1.087, allocations: 0 / 1.191 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/1.087, allocations: 24.08 kB / 1.191 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/1.087, allocations: 0 / 1.191 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/1.088, allocations: 29.31 kB / 1.191 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/1.088, allocations: 6.109 kB / 1.191 GB, free: 13.07 MB / 1.076 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 7.819e-05/1.088, allocations: 125.6 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/1.088, allocations: 2.969 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.125e-05/1.088, allocations: 11.11 kB / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/1.088, allocations: 1.156 kB / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.088, allocations: 0 / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/1.088, allocations: 6 kB / 1.191 GB, free: 12.94 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/1.088, allocations: 133 kB / 1.191 GB, free: 12.81 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.088, allocations: 0 / 1.191 GB, free: 12.81 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/1.088, allocations: 31.44 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/1.088, allocations: 1.281 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/1.088, allocations: 1.734 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/1.088, allocations: 4.594 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.088, allocations: 5.281 kB / 1.191 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000499/1.089, allocations: 328.5 kB / 1.192 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.239e-05/1.089, allocations: 11.48 kB / 1.192 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/1.089, allocations: 5.375 kB / 1.192 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/1.089, allocations: 15.7 kB / 1.192 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.391e-05/1.089, allocations: 22.61 kB / 1.192 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/1.089, allocations: 3.266 kB / 1.192 GB, free: 12.55 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.435e-05/1.089, allocations: 105.9 kB / 1.192 GB, free: 12.46 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.089, allocations: 0 / 1.192 GB, free: 12.46 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002747/1.089, allocations: 11.09 kB / 1.192 GB, free: 12.46 MB / 1.076 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.000106/1.089, allocations: 105.2 kB / 1.192 GB, free: 12.37 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005033/1.09, allocations: 138.2 kB / 1.192 GB, free: 12.35 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/1.09, allocations: 0 / 1.192 GB, free: 12.35 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002565/1.09, allocations: 91.55 kB / 1.192 GB, free: 12.34 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/1.09, allocations: 14.53 kB / 1.192 GB, free: 12.33 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004444/1.091, allocations: 187.8 kB / 1.192 GB, free: 12.19 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.072e-05/1.091, allocations: 94.97 kB / 1.193 GB, free: 12.11 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.903e-05/1.091, allocations: 17.8 kB / 1.193 GB, free: 12.11 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.745e-05/1.091, allocations: 18.78 kB / 1.193 GB, free: 12.09 MB / 1.076 GB Notification: Performance of SimCode: time 3e-07/1.091, allocations: 0 / 1.193 GB, free: 12.09 MB / 1.076 GB Notification: Performance of Templates: time 0.004602/1.096, allocations: 1.317 MB / 1.194 GB, free: 11.96 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat. Warning: Get data of variable intRep.y[1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat failed! Error: Could not read variable 1] in file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat. Warning: Get data of variable 1] from file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat failed! Error: Could not read variable intRep.y[2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat. Warning: Get data of variable intRep.y[2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat failed! Error: Could not read variable 2] in file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat. Warning: Get data of variable 2] from file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat failed! Error: Could not read variable intRep.y[3 in file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat. Warning: Get data of variable intRep.y[3 from file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat failed! Error: Could not read variable 2] in file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat. Warning: Get data of variable 2] from file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.360275184968486]