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.0012/0.0012, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001494/0.002694, allocations: 440 kB / 10.41 MB, free: 284 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.0007925/0.0007925, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001121/0.001914, allocations: 475.6 kB / 11.8 MB, free: 2.375 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 1.018/1.018, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09404/1.112, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.494/2.494, allocations: 447.1 MB / 0.675 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2395/2.734, allocations: 146 MB / 0.8176 GB, free: 3.828 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.[0-9,]+..y|reaToInt.[0-9,]+..y|intRep.y.[0-9,]+.",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.[0-9,]+..y|reaToInt.[0-9,]+..y|intRep.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.8189 GB, free: 2.512 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.237e-05/2.44e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001441/0.001466, allocations: 0.7238 MB / 0.8196 GB, free: 1.781 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007712/0.002237, allocations: 0.8897 MB / 0.8205 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.363e-05/0.002281, allocations: 0 / 0.8205 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 6.779e-05/0.002348, allocations: 7.875 kB / 0.8205 GB, free: 0.8711 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 6.682e-05/0.002415, allocations: 4 kB / 0.8205 GB, free: 0.8672 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 7.359e-05/0.002489, allocations: 23.86 kB / 0.8205 GB, free: 0.8438 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.002594, allocations: 71.81 kB / 0.8206 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.0027, allocations: 23.97 kB / 0.8206 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 8.99e-05/0.00279, allocations: 51.89 kB / 0.8207 GB, free: 0.6992 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 9.402e-05/0.002884, allocations: 43.89 kB / 0.8207 GB, free: 0.6562 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.002909, allocations: 8 kB / 0.8207 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.497e-05/0.002924, allocations: 8 kB / 0.8207 GB, free: 0.6406 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 4.649e-05/0.00297, allocations: 23.92 kB / 0.8208 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.913e-05/0.003, allocations: 15.94 kB / 0.8208 GB, free: 0.6016 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.003105, allocations: 63.75 kB / 0.8208 GB, free: 0.5391 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.44e-05/0.003119, allocations: 0 / 0.8208 GB, free: 0.5391 MB / 0.7917 GB Notification: Performance of FrontEnd: time 9.72e-07/0.00312, allocations: 0 / 0.8208 GB, free: 0.5391 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.387e-05/0.003134, allocations: 0 / 0.8208 GB, free: 0.5391 MB / 0.7917 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.0004362/0.00357, allocations: 296.3 kB / 0.8211 GB, free: 228 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.003604, allocations: 8.031 kB / 0.8211 GB, free: 220 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.442e-05/0.003648, allocations: 16.92 kB / 0.8211 GB, free: 204 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.003787, allocations: 129.6 kB / 0.8213 GB, free: 48 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.00381, allocations: 4.375 kB / 0.8213 GB, free: 44 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.003828, allocations: 8.375 kB / 0.8213 GB, free: 36 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.004009, allocations: 104.5 kB / 0.8214 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.004017, allocations: 4.188 kB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.004029, allocations: 4.375 kB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.004036, allocations: 4.359 kB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.939e-05/0.004076, allocations: 19.92 kB / 0.8214 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003051/0.004381, allocations: 287.1 kB / 0.8217 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.285e-05/0.004454, allocations: 61.08 kB / 0.8217 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.558e-05/0.004479, allocations: 17.78 kB / 0.8218 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.004493, allocations: 4 kB / 0.8218 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.004513, allocations: 30.56 kB / 0.8218 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.004514, allocations: 0 / 0.8218 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001497/0.004664, allocations: 57.62 kB / 0.8218 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.004699, allocations: 81.34 kB / 0.8219 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.558e-05/0.004765, allocations: 130.6 kB / 0.822 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.004776, allocations: 25.7 kB / 0.8221 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.68e-05/0.004813, allocations: 96.03 kB / 0.8222 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.004834, allocations: 11.88 kB / 0.8222 GB, free: 15 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.004865, allocations: 21.7 kB / 0.8222 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.948e-05/0.004944, allocations: 318.8 kB / 0.8225 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.542e-05/0.00496, allocations: 4 kB / 0.8225 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.154e-05/0.004981, allocations: 17.72 kB / 0.8225 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.836e-05/0.00503, allocations: 36.53 kB / 0.8226 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.005032, allocations: 0 / 0.8226 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.783e-05/0.0051, allocations: 53.55 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.005113, allocations: 9.25 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.005118, allocations: 0 / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.005133, allocations: 0 / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.728e-05/0.00523, allocations: 15.98 kB / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.005233, allocations: 0 / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.319e-05/0.005266, allocations: 11.94 kB / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.005272, allocations: 8.062 kB / 0.8226 GB, free: 14.48 MB / 0.8073 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 9.414e-05/0.005366, allocations: 116.6 kB / 0.8228 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.005392, allocations: 11.94 kB / 0.8228 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.598e-05/0.005418, allocations: 11.62 kB / 0.8228 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.005421, allocations: 3.984 kB / 0.8228 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.005423, allocations: 0 / 0.8228 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.005425, allocations: 0 / 0.8228 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.005548, allocations: 81.88 kB / 0.8229 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.005549, allocations: 0 / 0.8229 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.53e-05/0.005605, allocations: 15.98 kB / 0.8229 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.765e-06/0.005612, allocations: 11.94 kB / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.005614, allocations: 0 / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.00562, allocations: 0 / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.005621, allocations: 0 / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.005622, allocations: 0 / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.005749, allocations: 230.7 kB / 0.8231 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.00576, allocations: 3.938 kB / 0.8231 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.921e-05/0.00582, allocations: 7.984 kB / 0.8231 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.005866, allocations: 11.98 kB / 0.8231 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.00587, allocations: 8 kB / 0.8231 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.786e-05/0.005888, allocations: 16.84 kB / 0.8232 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.005888, allocations: 3.938 kB / 0.8232 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001399/0.006028, allocations: 15.95 kB / 0.8232 GB, free: 13.89 MB / 0.8073 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 9.655e-05/0.006125, allocations: 76.42 kB / 0.8232 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.278e-05/0.006217, allocations: 28.92 kB / 0.8233 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/0.006226, allocations: 4 kB / 0.8233 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.518e-05/0.006261, allocations: 25.12 kB / 0.8233 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.006473, allocations: 75.36 kB / 0.8234 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004376/0.006911, allocations: 187.9 kB / 0.8236 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.762e-05/0.006948, allocations: 63.34 kB / 0.8236 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.434e-05/0.006983, allocations: 15.98 kB / 0.8236 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.794e-05/0.007051, allocations: 55.38 kB / 0.8237 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of SimCode: time 5.61e-07/0.007051, allocations: 0 / 0.8237 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of Templates: time 0.002769/0.00982, allocations: 1.305 MB / 0.825 GB, free: 12 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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: 5.262482852675021]