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.001795/0.001795, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.002288/0.002288, allocations: 216.7 kB / 23.04 MB, free: 4.863 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.267/3.267, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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.002106/0.002106, allocations: 73.86 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4019/0.404, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002035/0.406, allocations: 0.6673 MB / 1.328 GB, free: 320 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.4072, allocations: 0.8591 MB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.059e-05/0.4072, allocations: 4 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.4073, allocations: 7.922 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.655e-05/0.4074, allocations: 7.875 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001225/0.4076, allocations: 15.98 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000147/0.4077, allocations: 79.81 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.4078, allocations: 15.98 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.561e-05/0.4079, allocations: 43.84 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.408, allocations: 43.89 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.4081, allocations: 8 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.624e-05/0.4081, allocations: 4 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.592e-05/0.4082, allocations: 27.91 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.135e-05/0.4082, allocations: 27.86 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.4084, allocations: 91.61 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.4084, allocations: 8 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4084, allocations: 0 / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.4084, allocations: 0 / 1.329 GB, free: 15.06 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.0006641/0.409, allocations: 318.1 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.4091, allocations: 12.03 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.985e-05/0.4091, allocations: 8.891 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.4093, allocations: 142.4 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.159e-05/0.4094, allocations: 12.36 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.4094, allocations: 4.375 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003776/0.4098, allocations: 159.8 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.4098, allocations: 192 / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.4098, allocations: 11.94 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.4098, allocations: 0 / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004486/0.4102, allocations: 151.8 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005744/0.4108, allocations: 380.4 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000302/0.4111, allocations: 117.1 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/0.4113, allocations: 73.7 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.4114, allocations: 0 / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.4114, allocations: 38.56 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.4114, allocations: 0 / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0007716/0.4122, allocations: 229.5 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.4122, allocations: 77.11 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.4124, allocations: 129.7 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.4124, allocations: 33.64 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.464e-05/0.4125, allocations: 104.2 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.4125, allocations: 11.89 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.316e-05/0.4125, allocations: 25.7 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.4127, allocations: 318.8 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.4129, allocations: 68.08 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/0.4131, allocations: 77.62 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003937/0.4135, allocations: 125.6 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.4135, allocations: 4 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000448/0.414, allocations: 161.5 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.414, allocations: 4 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.414, allocations: 0 / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.414, allocations: 4 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.4142, allocations: 24.03 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.882e-06/0.4142, allocations: 0 / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.4143, allocations: 23.91 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.4143, allocations: 0 / 1.332 GB, free: 12.06 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.0001211/0.4144, allocations: 130.3 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-05/0.4145, allocations: 7.953 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.957e-05/0.4145, allocations: 11.61 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.4145, allocations: 4 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4145, allocations: 0 / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.4145, allocations: 7.938 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.4148, allocations: 137.2 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4148, allocations: 0 / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.4149, allocations: 19.97 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.4149, allocations: 4 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.4149, allocations: 3.984 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4149, allocations: 3.938 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4149, allocations: 0 / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005563/0.4155, allocations: 346.5 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.876e-06/0.4155, allocations: 0 / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.4155, allocations: 4 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.4157, allocations: 16.11 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.492e-05/0.4157, allocations: 27.95 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.4158, allocations: 4.375 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.544e-05/0.4158, allocations: 99.14 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4158, allocations: 0 / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002759/0.4161, allocations: 15.95 kB / 1.333 GB, free: 11.17 MB / 1.029 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.0001358/0.4162, allocations: 107.2 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004796/0.4167, allocations: 139.8 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4167, allocations: 0 / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002449/0.417, allocations: 80.03 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.4173, allocations: 12 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004943/0.4178, allocations: 208.1 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.999e-05/0.4179, allocations: 95.19 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.445e-05/0.418, allocations: 11.44 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.418, allocations: 0 / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of Templates: time 0.003164/0.4211, allocations: 1.228 MB / 1.334 GB, free: 9.242 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[2572]=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: 11.364931653952226]