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.001427/0.001427, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002811/0.004238, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001678/0.001678, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002094/0.003773, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9296/0.9296, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1022/1.032, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.872/1.872, allocations: 378.4 MB / 0.6079 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.507/2.379, allocations: 123.3 MB / 0.7283 GB, free: 5.758 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.|reaRep.y.[0-9,]+.",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.[0-9,]+.|reaRep.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.013e-06/2.013e-06, allocations: 0 / 0.7296 GB, free: 4.453 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.325e-05/2.527e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.449 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.002375/0.002401, allocations: 0.7151 MB / 0.7303 GB, free: 3.766 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.003483, allocations: 0.8524 MB / 0.7312 GB, free: 2.906 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.046e-05/0.003524, allocations: 0 / 0.7312 GB, free: 2.906 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.6e-05/0.0036, allocations: 9.359 kB / 0.7312 GB, free: 2.898 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.993e-05/0.00368, allocations: 14.5 kB / 0.7312 GB, free: 2.887 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 5.382e-05/0.003733, allocations: 4 kB / 0.7312 GB, free: 2.883 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000137/0.00387, allocations: 60.05 kB / 0.7313 GB, free: 2.832 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.003989, allocations: 12.86 kB / 0.7313 GB, free: 2.82 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.004095, allocations: 38.41 kB / 0.7313 GB, free: 2.789 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.913e-05/0.004194, allocations: 36.3 kB / 0.7313 GB, free: 2.758 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.45e-05/0.004219, allocations: 4 kB / 0.7313 GB, free: 2.754 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.296e-05/0.004232, allocations: 4 kB / 0.7313 GB, free: 2.75 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.594e-05/0.004288, allocations: 19.44 kB / 0.7314 GB, free: 2.734 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.425e-05/0.004322, allocations: 10.88 kB / 0.7314 GB, free: 2.727 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.00444, allocations: 51.28 kB / 0.7314 GB, free: 2.68 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.586e-05/0.004456, allocations: 0 / 0.7314 GB, free: 2.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.693e-06/0.004457, allocations: 4.781 kB / 0.7314 GB, free: 2.676 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.563e-05/0.004473, allocations: 0 / 0.7314 GB, free: 2.676 MB / 0.698 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.0004812/0.004954, allocations: 277.1 kB / 0.7317 GB, free: 2.379 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.004992, allocations: 8.938 kB / 0.7317 GB, free: 2.371 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.00503, allocations: 8.938 kB / 0.7317 GB, free: 2.363 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.005193, allocations: 125.7 kB / 0.7318 GB, free: 2.215 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.005205, allocations: 5.188 kB / 0.7318 GB, free: 2.211 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.005222, allocations: 4.375 kB / 0.7318 GB, free: 2.207 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.005413, allocations: 93.92 kB / 0.7319 GB, free: 2.102 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.005423, allocations: 192 / 0.7319 GB, free: 2.102 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.005433, allocations: 384 / 0.7319 GB, free: 2.102 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.00544, allocations: 0.9062 kB / 0.7319 GB, free: 2.102 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.905e-05/0.005479, allocations: 25.05 kB / 0.732 GB, free: 2.078 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003885/0.005867, allocations: 275.2 kB / 0.7322 GB, free: 1.789 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.866e-05/0.005936, allocations: 38.5 kB / 0.7323 GB, free: 1.734 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.451e-05/0.005961, allocations: 9.719 kB / 0.7323 GB, free: 1.719 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.005972, allocations: 3.938 kB / 0.7323 GB, free: 1.715 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.006002, allocations: 43.19 kB / 0.7323 GB, free: 1.664 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/0.006003, allocations: 1.812 kB / 0.7323 GB, free: 1.664 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001553/0.006159, allocations: 41.62 kB / 0.7323 GB, free: 1.617 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.006204, allocations: 85.05 kB / 0.7324 GB, free: 1.516 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.888e-05/0.006283, allocations: 118.6 kB / 0.7325 GB, free: 1.387 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.006296, allocations: 27.3 kB / 0.7326 GB, free: 1.355 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.006482, allocations: 96.02 kB / 0.7327 GB, free: 1.258 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.006505, allocations: 11.95 kB / 0.7327 GB, free: 1.246 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.006537, allocations: 9.719 kB / 0.7327 GB, free: 1.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.006638, allocations: 323.4 kB / 0.733 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.685e-05/0.006655, allocations: 1.312 kB / 0.733 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.156e-05/0.006677, allocations: 13.72 kB / 0.733 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.73e-05/0.006714, allocations: 17.95 kB / 0.733 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.006716, allocations: 0 / 0.733 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.094e-05/0.006797, allocations: 46.16 kB / 0.7331 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.006817, allocations: 11.28 kB / 0.7331 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.006823, allocations: 1.344 kB / 0.7331 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.006837, allocations: 0 / 0.7331 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.849e-05/0.006926, allocations: 11.98 kB / 0.7331 GB, free: 0.793 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.006929, allocations: 0.6562 kB / 0.7331 GB, free: 0.793 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.089e-05/0.00696, allocations: 4 kB / 0.7331 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.006965, allocations: 5.062 kB / 0.7331 GB, free: 0.7852 MB / 0.698 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 6.738e-05/0.007033, allocations: 120.7 kB / 0.7332 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.007067, allocations: 8.906 kB / 0.7332 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.203e-05/0.007089, allocations: 3.469 kB / 0.7332 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.007091, allocations: 0 / 0.7332 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.007093, allocations: 1.25 kB / 0.7332 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.007098, allocations: 4 kB / 0.7332 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.007253, allocations: 77.88 kB / 0.7333 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.007255, allocations: 1.25 kB / 0.7333 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.447e-05/0.00731, allocations: 11.98 kB / 0.7333 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.656e-06/0.007318, allocations: 3.984 kB / 0.7333 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.007322, allocations: 4.688 kB / 0.7333 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.00733, allocations: 4 kB / 0.7333 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.007332, allocations: 0.5312 kB / 0.7333 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.007333, allocations: 0.7812 kB / 0.7333 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.007499, allocations: 210.8 kB / 0.7335 GB, free: 308 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.007512, allocations: 5.094 kB / 0.7335 GB, free: 304 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.007616, allocations: 11.92 kB / 0.7335 GB, free: 292 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.007653, allocations: 5.219 kB / 0.7335 GB, free: 288 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.007658, allocations: 4 kB / 0.7336 GB, free: 284 kB / 0.698 GB Notification: Performance of sorting global known variables: time 2.329e-05/0.007681, allocations: 12.84 kB / 0.7336 GB, free: 268 kB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.007681, allocations: 0 / 0.7336 GB, free: 268 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002271/0.007908, allocations: 16.7 kB / 0.7336 GB, free: 252 kB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0001121/0.00802, allocations: 77.17 kB / 0.7337 GB, free: 168 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.145e-05/0.008102, allocations: 17.53 kB / 0.7337 GB, free: 148 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/0.008112, allocations: 6.125 kB / 0.7337 GB, free: 144 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.009e-05/0.008142, allocations: 12.86 kB / 0.7337 GB, free: 128 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.008467, allocations: 71.39 kB / 0.7338 GB, free: 44 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005556/0.009023, allocations: 169.3 kB / 0.7339 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.382e-05/0.009076, allocations: 69.02 kB / 0.734 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.358e-05/0.00911, allocations: 3.984 kB / 0.734 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.483e-05/0.009185, allocations: 55.38 kB / 0.734 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of SimCode: time 1.272e-06/0.009186, allocations: 3.25 kB / 0.734 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of Templates: time 0.003262/0.01245, allocations: 0.7875 MB / 0.7348 GB, free: 14.95 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.938742275349796]