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.00109/0.00109, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001377/0.002467, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007013/0.0007013, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009802/0.001682, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9964/0.9964, allocations: 177.2 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09586/1.092, allocations: 53.66 MB / 243.3 MB, free: 15.59 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.924/1.924, allocations: 378.2 MB / 0.6076 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.478/2.402, allocations: 123.3 MB / 0.728 GB, free: 5.809 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 1.944e-06/1.944e-06, allocations: 0 / 0.7293 GB, free: 4.527 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.545e-05, allocations: 4 kB / 0.7293 GB, free: 4.523 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001491/0.001517, allocations: 0.7003 MB / 0.73 GB, free: 3.844 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008504/0.002367, allocations: 0.8483 MB / 0.7308 GB, free: 2.988 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.392e-05/0.002411, allocations: 0.5625 kB / 0.7308 GB, free: 2.988 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 6.873e-05/0.00248, allocations: 8.594 kB / 0.7308 GB, free: 2.98 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.511e-05/0.002545, allocations: 6.016 kB / 0.7309 GB, free: 2.977 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 5.337e-05/0.002598, allocations: 17.86 kB / 0.7309 GB, free: 2.961 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.002725, allocations: 56.28 kB / 0.7309 GB, free: 2.914 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.00284, allocations: 10.12 kB / 0.7309 GB, free: 2.906 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.741e-05/0.002937, allocations: 47.45 kB / 0.731 GB, free: 2.863 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.775e-05/0.003025, allocations: 30.7 kB / 0.731 GB, free: 2.836 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.003051, allocations: 4 kB / 0.731 GB, free: 2.832 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.137e-05/0.003062, allocations: 7.938 kB / 0.731 GB, free: 2.824 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.589e-05/0.003108, allocations: 20.62 kB / 0.731 GB, free: 2.809 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.485e-05/0.003143, allocations: 10.73 kB / 0.731 GB, free: 2.801 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.003252, allocations: 52.59 kB / 0.7311 GB, free: 2.754 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.939e-05/0.003271, allocations: 0 / 0.7311 GB, free: 2.754 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.383e-06/0.003273, allocations: 0 / 0.7311 GB, free: 2.754 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.101e-05/0.003294, allocations: 0 / 0.7311 GB, free: 2.754 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.0035/0.006794, allocations: 273.6 kB / 0.7314 GB, free: 2.461 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.00683, allocations: 13.47 kB / 0.7314 GB, free: 2.449 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.006863, allocations: 8.938 kB / 0.7314 GB, free: 2.441 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.007006, allocations: 126.9 kB / 0.7315 GB, free: 2.293 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.007018, allocations: 4.312 kB / 0.7315 GB, free: 2.289 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.00703, allocations: 9.031 kB / 0.7315 GB, free: 2.281 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.007188, allocations: 93.31 kB / 0.7316 GB, free: 2.176 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.007196, allocations: 1.906 kB / 0.7316 GB, free: 2.176 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.007204, allocations: 384 / 0.7316 GB, free: 2.176 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.007212, allocations: 4.375 kB / 0.7316 GB, free: 2.172 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.886e-05/0.00724, allocations: 11.88 kB / 0.7316 GB, free: 2.16 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002986/0.007539, allocations: 284.1 kB / 0.7319 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.591e-05/0.007595, allocations: 37.16 kB / 0.7319 GB, free: 1.809 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.97e-05/0.007625, allocations: 10.22 kB / 0.7319 GB, free: 1.793 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.007635, allocations: 8.531 kB / 0.7319 GB, free: 1.785 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.00766, allocations: 36.3 kB / 0.732 GB, free: 1.742 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.007661, allocations: 0 / 0.732 GB, free: 1.742 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001344/0.007796, allocations: 46.5 kB / 0.732 GB, free: 1.691 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.007839, allocations: 81.11 kB / 0.7321 GB, free: 1.594 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.868e-05/0.007908, allocations: 111.3 kB / 0.7322 GB, free: 1.473 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.007918, allocations: 33.64 kB / 0.7322 GB, free: 1.434 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.838e-05/0.007956, allocations: 96.69 kB / 0.7323 GB, free: 1.336 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.007974, allocations: 7.953 kB / 0.7323 GB, free: 1.328 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.008004, allocations: 15.47 kB / 0.7324 GB, free: 1.309 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.504e-05/0.008089, allocations: 318.8 kB / 0.7327 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.333e-05/0.008102, allocations: 0 / 0.7327 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.041e-05/0.008123, allocations: 17.7 kB / 0.7327 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.348e-05/0.008156, allocations: 22.08 kB / 0.7327 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.008158, allocations: 0 / 0.7327 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.721e-05/0.008216, allocations: 46.16 kB / 0.7327 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.008231, allocations: 5.125 kB / 0.7327 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.008235, allocations: 0 / 0.7327 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.008246, allocations: 0 / 0.7327 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.239e-05/0.008318, allocations: 16.64 kB / 0.7328 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.008322, allocations: 0.5312 kB / 0.7328 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.311e-05/0.008345, allocations: 4.938 kB / 0.7328 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.008351, allocations: 4 kB / 0.7328 GB, free: 0.8594 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.249e-05/0.008414, allocations: 113.2 kB / 0.7329 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.008438, allocations: 11.92 kB / 0.7329 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.116e-05/0.008459, allocations: 4.344 kB / 0.7329 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.008461, allocations: 0 / 0.7329 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.008464, allocations: 5.562 kB / 0.7329 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.008467, allocations: 0 / 0.7329 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.008582, allocations: 73.88 kB / 0.733 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.008583, allocations: 0 / 0.733 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.16e-05/0.008615, allocations: 12.48 kB / 0.733 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-06/0.00862, allocations: 1 kB / 0.733 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.008622, allocations: 3.938 kB / 0.733 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.008629, allocations: 8 kB / 0.733 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.008632, allocations: 5.188 kB / 0.733 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.008632, allocations: 0 / 0.733 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.008747, allocations: 215.3 kB / 0.7332 GB, free: 384 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.978e-06/0.008757, allocations: 3.938 kB / 0.7332 GB, free: 380 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.083e-05/0.008808, allocations: 5.156 kB / 0.7332 GB, free: 376 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.008842, allocations: 7.922 kB / 0.7332 GB, free: 368 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.008846, allocations: 8 kB / 0.7332 GB, free: 360 kB / 0.698 GB Notification: Performance of sorting global known variables: time 1.819e-05/0.008865, allocations: 17.8 kB / 0.7332 GB, free: 340 kB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.008865, allocations: 4 kB / 0.7332 GB, free: 336 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001366/0.009001, allocations: 13.2 kB / 0.7333 GB, free: 324 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.0001132/0.009114, allocations: 76.42 kB / 0.7333 GB, free: 240 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.368e-05/0.009188, allocations: 13.83 kB / 0.7333 GB, free: 224 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.009196, allocations: 4 kB / 0.7334 GB, free: 220 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.85e-05/0.009215, allocations: 11.17 kB / 0.7334 GB, free: 208 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.009443, allocations: 19.97 kB / 0.7334 GB, free: 188 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003542/0.01298, allocations: 173.2 kB / 0.7335 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.224e-05/0.01303, allocations: 63.28 kB / 0.7336 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.723e-05/0.01305, allocations: 4.75 kB / 0.7336 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.772e-05/0.01311, allocations: 52.03 kB / 0.7337 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of SimCode: time 8.92e-07/0.01311, allocations: 0 / 0.7337 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of Templates: time 0.002316/0.01543, allocations: 0.7927 MB / 0.7344 GB, free: 15.09 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.990478763356805]