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.001337/0.001337, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.001455/0.001455, allocations: 221.9 kB / 23 MB, free: 4.91 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.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 3.279/3.279, allocations: 0.5107 GB / 0.8166 GB, free: 17.87 MB / 0.6231 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.002212/0.002212, allocations: 66.5 kB / 1.187 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3589, allocations: 181.9 MB / 1.365 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002161/0.361, allocations: 0.6685 MB / 1.365 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.3623, allocations: 0.8553 MB / 1.366 GB, free: 12.1 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.72e-05/0.3623, allocations: 7.938 kB / 1.366 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.3624, allocations: 3.938 kB / 1.366 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.3626, allocations: 3.984 kB / 1.366 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001607/0.3627, allocations: 23.92 kB / 1.366 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.3629, allocations: 75.81 kB / 1.366 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.363, allocations: 19.98 kB / 1.366 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.432e-05/0.3631, allocations: 39.84 kB / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.3632, allocations: 47.83 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.3633, allocations: 12 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.862e-05/0.3633, allocations: 4 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.317e-05/0.3634, allocations: 27.91 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.91e-05/0.3634, allocations: 19.88 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.3636, allocations: 91.67 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3636, allocations: 4 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3636, allocations: 0 / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.3636, allocations: 0 / 1.366 GB, free: 11.72 MB / 1.061 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.0006703/0.3642, allocations: 323.8 kB / 1.367 GB, free: 11.38 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.3643, allocations: 12.03 kB / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.561e-05/0.3643, allocations: 8.891 kB / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.3645, allocations: 146.2 kB / 1.367 GB, free: 11.19 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.3646, allocations: 4.375 kB / 1.367 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.3646, allocations: 4.375 kB / 1.367 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003889/0.365, allocations: 165.9 kB / 1.367 GB, free: 11.01 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.365, allocations: 192 / 1.367 GB, free: 11.01 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.365, allocations: 7.938 kB / 1.367 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.365, allocations: 3.984 kB / 1.367 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004538/0.3655, allocations: 155.8 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005736/0.366, allocations: 376.4 kB / 1.368 GB, free: 10.44 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/0.3663, allocations: 113.1 kB / 1.368 GB, free: 10.31 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.3665, allocations: 81.69 kB / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.3666, allocations: 0 / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.3666, allocations: 34.56 kB / 1.368 GB, free: 10.18 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.3666, allocations: 0 / 1.368 GB, free: 10.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0007598/0.3674, allocations: 233.6 kB / 1.368 GB, free: 9.949 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.3674, allocations: 77.11 kB / 1.368 GB, free: 9.855 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.3675, allocations: 121.8 kB / 1.368 GB, free: 9.727 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.3676, allocations: 29.7 kB / 1.368 GB, free: 9.691 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.035e-05/0.3676, allocations: 96.05 kB / 1.368 GB, free: 9.594 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.3677, allocations: 20.02 kB / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.895e-05/0.3677, allocations: 21.72 kB / 1.368 GB, free: 9.547 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3679, allocations: 318.8 kB / 1.369 GB, free: 9.227 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.3681, allocations: 63.95 kB / 1.369 GB, free: 9.164 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.3683, allocations: 89.56 kB / 1.369 GB, free: 9.07 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003793/0.3686, allocations: 121.6 kB / 1.369 GB, free: 8.945 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3686, allocations: 0 / 1.369 GB, free: 8.945 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004617/0.3691, allocations: 165.4 kB / 1.369 GB, free: 8.777 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.3691, allocations: 7.984 kB / 1.369 GB, free: 8.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.3691, allocations: 4 kB / 1.369 GB, free: 8.766 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.3692, allocations: 0 / 1.369 GB, free: 8.766 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.3693, allocations: 23.97 kB / 1.369 GB, free: 8.742 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3693, allocations: 0 / 1.369 GB, free: 8.742 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.3694, allocations: 28.34 kB / 1.369 GB, free: 8.715 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.3694, allocations: 0 / 1.369 GB, free: 8.715 MB / 1.061 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.000111/0.3696, allocations: 125.8 kB / 1.369 GB, free: 8.582 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.838e-05/0.3696, allocations: 4 kB / 1.369 GB, free: 8.578 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.096e-05/0.3696, allocations: 11.56 kB / 1.369 GB, free: 8.559 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.3696, allocations: 4 kB / 1.369 GB, free: 8.555 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.3696, allocations: 4 kB / 1.369 GB, free: 8.551 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3697, allocations: 3.938 kB / 1.369 GB, free: 8.547 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.3699, allocations: 145.2 kB / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3699, allocations: 4 kB / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.37, allocations: 23.91 kB / 1.37 GB, free: 8.348 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.37, allocations: 4 kB / 1.37 GB, free: 8.344 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.37, allocations: 0 / 1.37 GB, free: 8.344 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.37, allocations: 0 / 1.37 GB, free: 8.344 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.37, allocations: 0 / 1.37 GB, free: 8.344 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005337/0.3706, allocations: 338.6 kB / 1.37 GB, free: 7.996 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.051e-05/0.3706, allocations: 3.953 kB / 1.37 GB, free: 7.992 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.3706, allocations: 4 kB / 1.37 GB, free: 7.988 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.3708, allocations: 15.97 kB / 1.37 GB, free: 7.973 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.87e-05/0.3708, allocations: 23.95 kB / 1.37 GB, free: 7.949 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.3708, allocations: 4 kB / 1.37 GB, free: 7.945 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.238e-05/0.3709, allocations: 103.1 kB / 1.37 GB, free: 7.844 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3709, allocations: 0 / 1.37 GB, free: 7.844 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002651/0.3712, allocations: 15.94 kB / 1.37 GB, free: 7.828 MB / 1.061 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.0001205/0.3713, allocations: 99.25 kB / 1.37 GB, free: 7.723 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004653/0.3718, allocations: 135.8 kB / 1.37 GB, free: 7.59 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3718, allocations: 0 / 1.37 GB, free: 7.59 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002297/0.372, allocations: 87.83 kB / 1.37 GB, free: 7.504 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.3723, allocations: 16.19 kB / 1.37 GB, free: 7.488 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004646/0.3728, allocations: 212.2 kB / 1.371 GB, free: 7.246 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.3729, allocations: 91.25 kB / 1.371 GB, free: 7.137 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.15e-05/0.373, allocations: 11.44 kB / 1.371 GB, free: 7.125 MB / 1.061 GB Notification: Performance of SimCode: time 5.41e-07/0.373, allocations: 0 / 1.371 GB, free: 7.125 MB / 1.061 GB Notification: Performance of Templates: time 0.003153/0.3761, allocations: 1.24 MB / 1.372 GB, free: 5.895 MB / 1.061 GB " [Timeout remaining time 300] 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 -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[2572]=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: 11.309633049182594]