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.001348/0.001348, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.00153/0.00153, allocations: 209.6 kB / 23.01 MB, free: 4.57 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: 8.004 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.304/3.304, allocations: 0.505 GB / 0.8108 GB, free: 22.01 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.002086/0.002086, allocations: 64.39 kB / 1.178 GB, free: 16.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3759, allocations: 180.2 MB / 1.354 GB, free: 7.949 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.00212/0.378, allocations: 0.6814 MB / 1.355 GB, free: 7.27 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.3792, allocations: 0.867 MB / 1.356 GB, free: 6.391 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.934e-05/0.3793, allocations: 4 kB / 1.356 GB, free: 6.387 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000113/0.3794, allocations: 7.922 kB / 1.356 GB, free: 6.379 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.3795, allocations: 7.938 kB / 1.356 GB, free: 6.371 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001185/0.3796, allocations: 19.98 kB / 1.356 GB, free: 6.352 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.3797, allocations: 75.75 kB / 1.356 GB, free: 6.277 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.3799, allocations: 19.98 kB / 1.356 GB, free: 6.258 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.468e-05/0.38, allocations: 35.91 kB / 1.356 GB, free: 6.223 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.3801, allocations: 39.89 kB / 1.356 GB, free: 6.184 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.3801, allocations: 8 kB / 1.356 GB, free: 6.176 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.506e-05/0.3801, allocations: 7.938 kB / 1.356 GB, free: 6.168 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.04e-05/0.3802, allocations: 31.91 kB / 1.356 GB, free: 6.137 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.357e-05/0.3802, allocations: 35.8 kB / 1.356 GB, free: 6.102 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.3804, allocations: 87.69 kB / 1.356 GB, free: 6.016 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.3804, allocations: 0 / 1.356 GB, free: 6.016 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3804, allocations: 0 / 1.356 GB, free: 6.016 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.3804, allocations: 4 kB / 1.356 GB, free: 6.012 MB / 1.045 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.0006674/0.3811, allocations: 322 kB / 1.356 GB, free: 5.664 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.3811, allocations: 12.03 kB / 1.356 GB, free: 5.652 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.3812, allocations: 8.891 kB / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.3814, allocations: 138.4 kB / 1.356 GB, free: 5.484 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.3814, allocations: 8.375 kB / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.3814, allocations: 4.375 kB / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003839/0.3818, allocations: 162.8 kB / 1.357 GB, free: 5.305 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.3818, allocations: 192 / 1.357 GB, free: 5.305 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.3818, allocations: 7.922 kB / 1.357 GB, free: 5.297 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3818, allocations: 8 kB / 1.357 GB, free: 5.289 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004558/0.3823, allocations: 155.8 kB / 1.357 GB, free: 5.137 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000626/0.3829, allocations: 411.8 kB / 1.357 GB, free: 4.688 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.3832, allocations: 117.1 kB / 1.357 GB, free: 4.555 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/0.3834, allocations: 77.69 kB / 1.357 GB, free: 4.473 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.3834, allocations: 0 / 1.357 GB, free: 4.473 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.3835, allocations: 38.5 kB / 1.357 GB, free: 4.426 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3835, allocations: 7.938 kB / 1.357 GB, free: 4.418 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.000745/0.3842, allocations: 225.6 kB / 1.358 GB, free: 4.191 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/0.3843, allocations: 81.14 kB / 1.358 GB, free: 4.094 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.3844, allocations: 133.8 kB / 1.358 GB, free: 3.953 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.3844, allocations: 25.7 kB / 1.358 GB, free: 3.922 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.129e-05/0.3845, allocations: 96.03 kB / 1.358 GB, free: 3.824 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.3845, allocations: 11.89 kB / 1.358 GB, free: 3.812 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.032e-05/0.3846, allocations: 21.72 kB / 1.358 GB, free: 3.785 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3847, allocations: 318.8 kB / 1.358 GB, free: 3.465 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.3849, allocations: 67.92 kB / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.3851, allocations: 77.62 kB / 1.358 GB, free: 3.316 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003747/0.3855, allocations: 129.5 kB / 1.359 GB, free: 3.184 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.3855, allocations: 4 kB / 1.359 GB, free: 3.18 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004338/0.3859, allocations: 153.5 kB / 1.359 GB, free: 3.023 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.386, allocations: 7.984 kB / 1.359 GB, free: 3.016 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.386, allocations: 0 / 1.359 GB, free: 3.016 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.386, allocations: 4.062 kB / 1.359 GB, free: 3.012 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.3862, allocations: 27.91 kB / 1.359 GB, free: 2.984 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.3862, allocations: 3.938 kB / 1.359 GB, free: 2.98 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.3863, allocations: 19.92 kB / 1.359 GB, free: 2.961 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.3863, allocations: 4 kB / 1.359 GB, free: 2.957 MB / 1.045 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.000119/0.3864, allocations: 130.5 kB / 1.359 GB, free: 2.82 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.3865, allocations: 0 / 1.359 GB, free: 2.82 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.48e-05/0.3865, allocations: 15.62 kB / 1.359 GB, free: 2.805 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3865, allocations: 0 / 1.359 GB, free: 2.805 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.3865, allocations: 3.938 kB / 1.359 GB, free: 2.801 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.3865, allocations: 0 / 1.359 GB, free: 2.801 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/0.3868, allocations: 172.8 kB / 1.359 GB, free: 2.59 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3868, allocations: 3.984 kB / 1.359 GB, free: 2.586 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.3869, allocations: 23.97 kB / 1.359 GB, free: 2.562 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3869, allocations: 0 / 1.359 GB, free: 2.562 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.3869, allocations: 4 kB / 1.359 GB, free: 2.559 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3869, allocations: 4.375 kB / 1.359 GB, free: 2.555 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.3869, allocations: 11.88 kB / 1.359 GB, free: 2.543 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005248/0.3875, allocations: 334.6 kB / 1.359 GB, free: 2.199 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.476e-05/0.3875, allocations: 7.953 kB / 1.359 GB, free: 2.191 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.3875, allocations: 7.938 kB / 1.359 GB, free: 2.184 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.3877, allocations: 19.97 kB / 1.359 GB, free: 2.164 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.785e-05/0.3877, allocations: 23.91 kB / 1.359 GB, free: 2.141 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.3877, allocations: 4 kB / 1.359 GB, free: 2.137 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.744e-05/0.3878, allocations: 95.25 kB / 1.36 GB, free: 2.043 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3878, allocations: 4 kB / 1.36 GB, free: 2.039 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000272/0.3881, allocations: 8 kB / 1.36 GB, free: 2.031 MB / 1.045 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.0001299/0.3882, allocations: 103.2 kB / 1.36 GB, free: 1.922 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000478/0.3887, allocations: 139.8 kB / 1.36 GB, free: 1.785 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3887, allocations: 0 / 1.36 GB, free: 1.785 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002342/0.3889, allocations: 84.03 kB / 1.36 GB, free: 1.703 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.3893, allocations: 13.88 kB / 1.36 GB, free: 1.691 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005145/0.3898, allocations: 220 kB / 1.36 GB, free: 1.441 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.3901, allocations: 0.6963 MB / 1.361 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.586e-05/0.3902, allocations: 15.42 kB / 1.361 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of SimCode: time 3.51e-07/0.3902, allocations: 4 kB / 1.361 GB, free: 0.6992 MB / 1.045 GB Notification: Performance of Templates: time 0.003234/0.3934, allocations: 1.215 MB / 1.362 GB, free: 15.49 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.563976781006204]